diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue index 976ebd7a8f..34eebd841d 100644 --- a/packages/frontend/src/components/MkNote.vue +++ b/packages/frontend/src/components/MkNote.vue @@ -444,7 +444,7 @@ function react(viaKeyboard = false): void { } function toggleReact() { - if (appearNote.value.myReactions?.length > 3 || !appearNote.value.myReactions ) { + if (appearNote.value.myReactions?.length < 3 || !appearNote.value.myReactions ) { react(); } } diff --git a/packages/frontend/src/components/MkNoteDetailed.vue b/packages/frontend/src/components/MkNoteDetailed.vue index 3b794bb7ee..f6b0f08b37 100644 --- a/packages/frontend/src/components/MkNoteDetailed.vue +++ b/packages/frontend/src/components/MkNoteDetailed.vue @@ -502,7 +502,7 @@ function undoReact(targetNote: Misskey.entities.Note): void { } function toggleReact() { - if (appearNote.value.myReactions?.length > 3 || !appearNote.value.myReactions ) { + if (appearNote.value.myReactions?.length < 3 || !appearNote.value.myReactions ) { react(); } }