Post elements should each have a key value.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<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>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user