Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
fix(RatingMenu): use unique keys
Browse files Browse the repository at this point in the history
This warnign came up in Vue 3, but it's still relevant for Vue 2
  • Loading branch information
Haroenv committed Sep 8, 2020
1 parent 90cf9db commit 80ff944
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/RatingMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
width="24"
height="24"
:class="[suit('starIcon'), suit('starIcon--full')]"
:key="n"
:key="n + '-full'"
>
<use xlink:href="#ais-RatingMenu-starSymbol" />
</svg>
Expand All @@ -56,7 +56,7 @@
aria-hidden="true"
width="24"
height="24"
:key="n"
:key="n + '-empty'"
>
<use xlink:href="#ais-RatingMenu-starEmptySymbol" />
</svg>
Expand Down

0 comments on commit 80ff944

Please sign in to comment.