diff --git a/packages/client/src/components/MkStarButton.vue b/packages/client/src/components/MkStarButton.vue index 021cd72bc..99ebc9b70 100644 --- a/packages/client/src/components/MkStarButton.vue +++ b/packages/client/src/components/MkStarButton.vue @@ -52,6 +52,8 @@ 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 5667095cd..3b1d6291f 100644 --- a/packages/client/src/components/MkStarButtonNoEmoji.vue +++ b/packages/client/src/components/MkStarButtonNoEmoji.vue @@ -64,6 +64,8 @@ function toggleStar(ev?: MouseEvent): void { pleaseLogin(); if (!props.reacted) { + sound.play("reaction"); + os.api("notes/reactions/create", { noteId: props.note.id, reaction: instance.defaultReaction,