[F] Fix v-for key

This commit is contained in:
Azalea Gui
2023-03-09 17:20:11 -05:00
parent d613ac62aa
commit 56ca0ab655
+1 -1
View File
@@ -10,7 +10,7 @@
<span v-if="category">📂{{category}}</span> <span v-if="category">📂{{category}}</span>
<span class="no-after" v-if="post && activePost">{{activePost.title}}</span> <span class="no-after" v-if="post && activePost">{{activePost.title}}</span>
</div> </div>
<BlogPostPreview v-for="m of filteredPosts" :key="m" :meta="m" :active="m === activePost"/> <BlogPostPreview v-for="m of filteredPosts" :key="m.id" :meta="m" :active="m === activePost"/>
</div> </div>
<Loading v-else></Loading> <Loading v-else></Loading>
</template> </template>