Skip to content

Commit

Permalink
fix: use key for random Advertisement
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Mar 30, 2023
1 parent b98c6a1 commit bc5d7d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

<!-- Every 5 posts -->
<template v-if="!isUserPremium && index !== 0 && index % 5 === 0">
<li>
<li :key="`${POST.id}-advertisement`">
<Advertisement />
</li>
</template>
Expand Down

0 comments on commit bc5d7d8

Please sign in to comment.