summaryrefslogtreecommitdiff
path: root/demo/components/chat.js
diff options
context:
space:
mode:
authortheia2023-02-07 12:52:04 -0500
committertheia2023-02-07 12:52:04 -0500
commit5b951766757d89a4ab91457e8dbeabc50164ccdc (patch)
treec4478b85969848a9b3ca840ce411daaaac67ce6b /demo/components/chat.js
parent4d3c179fd1ab64eb09564cb778a16b4d8c430dd9 (diff)
update and remove implicitly via proxy
Diffstat (limited to 'demo/components/chat.js')
-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>