summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkNote.vue
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2025-03-25 18:30:28 +0900
committersyuilo <4439005+syuilo@users.noreply.github.com>2025-03-25 18:30:28 +0900
commit22f99b42f6e34154baff568b831099f84cb9901f (patch)
tree29f4b4a90eef31da4ae74f0ddac0022c441abcf6 /packages/frontend/src/components/MkNote.vue
parentenhance(frontend): タブレットでの表示時にウィジェットボタ... (diff)
downloadmisskey-22f99b42f6e34154baff568b831099f84cb9901f.tar.gz
misskey-22f99b42f6e34154baff568b831099f84cb9901f.tar.bz2
misskey-22f99b42f6e34154baff568b831099f84cb9901f.zip
enhance(frontend): refactor and improve ux
Diffstat (limited to 'packages/frontend/src/components/MkNote.vue')
-rw-r--r--packages/frontend/src/components/MkNote.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue
index 73ff85b150..07da1bd4d9 100644
--- a/packages/frontend/src/components/MkNote.vue
+++ b/packages/frontend/src/components/MkNote.vue
@@ -379,7 +379,8 @@ const keymap = {
},
} as const satisfies Keymap;
-provide('react', (reaction: string) => {
+provide(DI.mfmEmojiReactCallback, (reaction) => {
+ sound.playMisskeySfx('reaction');
misskeyApi('notes/reactions/create', {
noteId: appearNote.value.id,
reaction: reaction,