diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue index d7a6b241b..e08588e8e 100644 --- a/packages/frontend/src/components/MkNote.vue +++ b/packages/frontend/src/components/MkNote.vue @@ -373,7 +373,7 @@ function like(): void { pleaseLogin(); showMovedDialog(); os.api('notes/reactions/create', { - noteId: props.note.id, + noteId: appearNote.id, reaction: '❤️', }); const el = likeButton.value as HTMLElement | null | undefined; diff --git a/packages/frontend/src/components/MkNoteDetailed.vue b/packages/frontend/src/components/MkNoteDetailed.vue index 1bd2cef80..8e1f69a0c 100644 --- a/packages/frontend/src/components/MkNoteDetailed.vue +++ b/packages/frontend/src/components/MkNoteDetailed.vue @@ -440,7 +440,7 @@ function like(): void { pleaseLogin(); showMovedDialog(); os.api('notes/reactions/create', { - noteId: props.note.id, + noteId: appearNote.id, reaction: '❤️', }); const el = likeButton.value as HTMLElement | null | undefined;