mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-12 07:42:40 +10:00
fix: missing key in loops
This commit is contained in:
@ -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',
|
||||
|
||||
Reference in New Issue
Block a user