From 0197d3354a596b2e326e5ed3485045c7c569c070 Mon Sep 17 00:00:00 2001 From: Marie Date: Tue, 2 Jan 2024 12:32:49 +0100 Subject: [PATCH] fix: lint --- packages/frontend/src/components/MkNoteSub.vue | 2 ++ packages/frontend/src/components/SkNoteSub.vue | 2 ++ 2 files changed, 4 insertions(+) diff --git a/packages/frontend/src/components/MkNoteSub.vue b/packages/frontend/src/components/MkNoteSub.vue index 08423219f..d725ca15a 100644 --- a/packages/frontend/src/components/MkNoteSub.vue +++ b/packages/frontend/src/components/MkNoteSub.vue @@ -91,6 +91,7 @@ import MkSubNoteContent from '@/components/MkSubNoteContent.vue'; import MkCwButton from '@/components/MkCwButton.vue'; import { notePage } from '@/filters/note.js'; import * as os from '@/os.js'; +import * as sound from '@/scripts/sound.js'; import { i18n } from '@/i18n.js'; import { $i } from '@/account.js'; import { userPage } from '@/filters/user.js'; @@ -193,6 +194,7 @@ function reply(viaKeyboard = false): void { function react(viaKeyboard = false): void { pleaseLogin(); showMovedDialog(); + sound.play('reaction'); if (props.note.reactionAcceptance === 'likeOnly') { os.api('notes/like', { noteId: props.note.id, diff --git a/packages/frontend/src/components/SkNoteSub.vue b/packages/frontend/src/components/SkNoteSub.vue index 8350e7154..79e171f34 100644 --- a/packages/frontend/src/components/SkNoteSub.vue +++ b/packages/frontend/src/components/SkNoteSub.vue @@ -99,6 +99,7 @@ import MkSubNoteContent from '@/components/MkSubNoteContent.vue'; import MkCwButton from '@/components/MkCwButton.vue'; import { notePage } from '@/filters/note.js'; import * as os from '@/os.js'; +import * as sound from '@/scripts/sound.js'; import { i18n } from '@/i18n.js'; import { $i } from '@/account.js'; import { userPage } from '@/filters/user.js'; @@ -202,6 +203,7 @@ function reply(viaKeyboard = false): void { function react(viaKeyboard = false): void { pleaseLogin(); showMovedDialog(); + sound.play('reaction'); if (props.note.reactionAcceptance === 'likeOnly') { os.api('notes/like', { noteId: props.note.id,