Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Commit

Permalink
Fix deprecation warning on v-for
Browse files Browse the repository at this point in the history
  • Loading branch information
jplhomer committed Jun 24, 2017
1 parent 19c00b5 commit 138f89c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/assets/js/components/ChatLog.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template lang="html">
<div class="chat-log">
<chat-message v-for="message in messages" :message="message"></chat-message>
<chat-message v-for="message in messages" :message="message" :key="message.id"></chat-message>
<div class="empty" v-show="messages.length === 0">
Nothing here yet!
</div>
Expand Down

0 comments on commit 138f89c

Please sign in to comment.