fix: missing key in loops

This commit is contained in:
Huskydog9988
2025-04-12 16:03:35 -04:00
parent 22a7cfa544
commit f384492ed2
11 changed files with 38 additions and 25 deletions

View File

@ -71,6 +71,7 @@
>
<component
v-for="platform in platforms"
:key="platform"
:is="PLATFORM_ICONS[platform]"
class="text-blue-600 w-6 h-6"
/>
@ -91,7 +92,8 @@
class="whitespace-nowrap flex flex-row items-center gap-x-1 px-3 py-4 text-sm text-zinc-400"
>
<StarIcon
v-for="value in ratingArray"
v-for="(value, idx) in ratingArray"
:key="idx"
:class="[
value ? 'text-yellow-600' : 'text-zinc-600',
'w-4 h-4',