Skip to content

Commit ab5c8d5

Browse files
committed
fix: remove unnecessary iterator & add key
1 parent f46d93b commit ab5c8d5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/components/Compare/FacetBarChart.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ const config = computed<VueUiHorizontalBarConfig>(() => {
241241
<SkeletonInline class="h-4 w-28" />
242242
</div>
243243
<div class="flex flex-col gap-1">
244-
<SkeletonInline class="h-7 w-full" v-for="(_, i) in packages" />
244+
<SkeletonInline class="h-7 w-full" v-for="pkg in packages" :key="pkg" />
245245
</div>
246246
</template>
247247
</ClientOnly>
@@ -252,7 +252,7 @@ const config = computed<VueUiHorizontalBarConfig>(() => {
252252
<SkeletonInline class="h-4 w-28" />
253253
</div>
254254
<div class="flex flex-col gap-1">
255-
<SkeletonInline class="h-7 w-full" v-for="(_, i) in packages" />
255+
<SkeletonInline class="h-7 w-full" v-for="pkg in packages" :key="pkg" />
256256
</div>
257257
</template>
258258
</div>

0 commit comments

Comments
 (0)