diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue index 27fa01fc68..ece4801cfb 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 1479c8fbe2..3f21a2e854 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 eef06d15e0..f0beb06acf 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, });