From 9a2dc894c1f4dea4bfb68d053652fd239fea64ac Mon Sep 17 00:00:00 2001 From: limepotato Date: Sun, 14 Jul 2024 06:42:58 -0600 Subject: [PATCH] ? --- packages/client/src/components/MkStarButton.vue | 1 - packages/client/src/components/MkStarButtonNoEmoji.vue | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/client/src/components/MkStarButton.vue b/packages/client/src/components/MkStarButton.vue index f510ff814..021cd72bc 100644 --- a/packages/client/src/components/MkStarButton.vue +++ b/packages/client/src/components/MkStarButton.vue @@ -52,7 +52,6 @@ const props = defineProps<{ function star(ev?: MouseEvent): void { pleaseLogin(); - sound.play("reaction"); os.api("notes/reactions/create", { noteId: props.note.id, reaction: diff --git a/packages/client/src/components/MkStarButtonNoEmoji.vue b/packages/client/src/components/MkStarButtonNoEmoji.vue index c1f042259..29998abf3 100644 --- a/packages/client/src/components/MkStarButtonNoEmoji.vue +++ b/packages/client/src/components/MkStarButtonNoEmoji.vue @@ -62,9 +62,8 @@ const buttonRef = ref(); function toggleStar(ev?: MouseEvent): void { pleaseLogin(); - + sound.play("reaction"); if (!props.reacted) { - sound.play("reaction"); os.api("notes/reactions/create", { noteId: props.note.id, reaction: instance.defaultReaction,