We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a75ef7 commit 6f0c0feCopy full SHA for 6f0c0fe
src/components/Comment.vue
@@ -13,7 +13,7 @@
13
}}</a>
14
</div>
15
<ul class="comment-children" v-show="open">
16
- <comment v-for="id in comment.kids" :id="id"></comment>
+ <comment v-for="id in comment.kids" :key="id" :id="id"></comment>
17
</ul>
18
</li>
19
</template>
src/views/ItemView.vue
@@ -20,7 +20,7 @@
20
<spinner :show="loading"></spinner>
21
</p>
22
<ul v-if="!loading" class="comment-children">
23
- <comment v-for="id in item.kids" :id="id"></comment>
+ <comment v-for="id in item.kids" :key="id" :id="id"></comment>
24
25
26
0 commit comments