diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue index 27fa01fc6..ece4801cf 100644 --- a/packages/frontend/src/components/MkNote.vue +++ b/packages/frontend/src/components/MkNote.vue @@ -442,7 +442,7 @@ function undoReact(note): void { } function undoRenote() : void { - if (!renoted) return; + if (!renoted.value) return; os.api("notes/unrenote", { noteId: appearNote.id, }); diff --git a/packages/frontend/src/components/MkNoteDetailed.vue b/packages/frontend/src/components/MkNoteDetailed.vue index 1479c8fbe..3f21a2e85 100644 --- a/packages/frontend/src/components/MkNoteDetailed.vue +++ b/packages/frontend/src/components/MkNoteDetailed.vue @@ -481,7 +481,7 @@ function undoReact(note): void { } function undoRenote() : void { - if (!renoted) return; + if (!renoted.value) return; os.api("notes/unrenote", { noteId: appearNote.id, }); diff --git a/packages/frontend/src/components/MkNoteSub.vue b/packages/frontend/src/components/MkNoteSub.vue index eef06d15e..f0beb06ac 100644 --- a/packages/frontend/src/components/MkNoteSub.vue +++ b/packages/frontend/src/components/MkNoteSub.vue @@ -216,7 +216,7 @@ function undoReact(note): void { } function undoRenote() : void { - if (!renoted) return; + if (!renoted.value) return; os.api("notes/unrenote", { noteId: appearNote.id, });