Post elements should each have a key value.

This commit is contained in:
2021-01-03 18:25:07 +01:00
parent 088194d6f5
commit 224a074eca

View File

@@ -1,6 +1,6 @@
<template>
<div>
<post-preview v-for="post in posts" :post="post"></post-preview>
<post-preview v-for="post in posts" :post="post" :key="post.id"></post-preview>
</div>
</template>