summaryrefslogtreecommitdiff
path: root/demo/components
diff options
context:
space:
mode:
Diffstat (limited to 'demo/components')
-rw-r--r--demo/components/chat.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/demo/components/chat.js b/demo/components/chat.js
index 2d68ee0..52470f0 100644
--- a/demo/components/chat.js
+++ b/demo/components/chat.js
@@ -45,11 +45,11 @@ export default {
<LikeButton :messageID="object._id" />
<template v-if="object._by==$graffitiMyID">
- <button @click="object.message+='!!';object._update()">
+ <button @click="object.message+='!!'">
‼️
</button>
- <button @click="object._remove()">
+ <button @click="delete object._key">
</button>
</template>