diff options
Diffstat (limited to 'demo/components/chat.js')
-rw-r--r-- | demo/components/chat.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demo/components/chat.js b/demo/components/chat.js index 2d68ee0..bffde26 100644 --- a/demo/components/chat.js +++ b/demo/components/chat.js @@ -1,9 +1,9 @@ import { Name } from './name.js' -import LikeButton from './like-button.js' +import Comments from './comment.js' export default { - components: { Name, LikeButton }, + components: { Name, Comments }, data: ()=> ({ message: '', @@ -42,7 +42,7 @@ export default { <em><Name :of="object._by"/></em>: {{ object.message }} - <LikeButton :messageID="object._id" /> + <Comments :messageID="object._id" /> <template v-if="object._by==$graffitiMyID"> <button @click="object.message+='!!';object._update()"> |