diff --git a/components/notes/note.vue b/components/notes/note.vue index 9ad60dd..a88597e 100644 --- a/components/notes/note.vue +++ b/components/notes/note.vue @@ -56,15 +56,15 @@ :reply-count="noteToUse.replies_count" :like-count="noteToUse.favourites_count" :url="url" - :api-note-string="JSON.stringify(note, null, 4)" + :api-note-string="JSON.stringify(noteToUse, null, 4)" :reblog-count="noteToUse.reblogs_count" :remote-url="noteToUse.url" :is-remote="isRemote" :author-id="noteToUse.account.id" - @edit="useEvent('composer:edit', note)" - @reply="useEvent('composer:reply', note)" - @quote="useEvent('composer:quote', note)" - @delete="useEvent('note:delete', note)" + @edit="useEvent('composer:edit', noteToUse)" + @reply="useEvent('composer:reply', noteToUse)" + @quote="useEvent('composer:quote', noteToUse)" + @delete="useEvent('note:delete', noteToUse)" :note-id="noteToUse.id" :liked="noteToUse.favourited ?? false" :reblogged="noteToUse.reblogged ?? false"