From d561aae3e5e113276a66cad808fa45e1914c0075 Mon Sep 17 00:00:00 2001 From: Mar0xy Date: Fri, 13 Oct 2023 21:54:57 +0200 Subject: [PATCH] chore: lint --- packages/frontend/src/components/MkNote.vue | 2 +- packages/frontend/src/components/MkNoteDetailed.vue | 2 +- packages/frontend/src/components/MkNoteSub.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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, });