diff --git a/packages/frontend/src/components/MkReactionsViewer.reaction.vue b/packages/frontend/src/components/MkReactionsViewer.reaction.vue index 1323b896ff..ed70654649 100644 --- a/packages/frontend/src/components/MkReactionsViewer.reaction.vue +++ b/packages/frontend/src/components/MkReactionsViewer.reaction.vue @@ -66,8 +66,7 @@ const canGetInfo = computed(() => !props.reaction.match(/@\w/) && props.reaction async function toggleReaction() { if (!canToggle.value) return; - const oldReaction = props.note.myReactions.includes(props.reaction) ? props.reaction : null; - console.log(oldReaction); + const oldReaction = props.note.myReactions?.includes(props.reaction) ? props.reaction : null; if (oldReaction) { const confirm = await os.confirm({ type: 'warning',