From 742f16c324724f7f11579e31c4dc099b7947d17e Mon Sep 17 00:00:00 2001 From: Marc Hyeler Date: Fri, 26 Apr 2024 03:52:33 +0000 Subject: [PATCH] fix format --- src/core/utils/notify.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/utils/notify.ts b/src/core/utils/notify.ts index c8b1e6b2..19d451b8 100644 --- a/src/core/utils/notify.ts +++ b/src/core/utils/notify.ts @@ -1,6 +1,6 @@ import { useAppStore } from '@core/stores/appStore.js'; -const notificationSound = new Audio("/notification.wav"); +const notificationSound = new Audio("/notification.wav"); //change sound if needed let isPlaying = false; @@ -10,7 +10,6 @@ export const playNotificationSound = () => { isPlaying = true; notificationSound.play(); - notificationSound.onended = () => { isPlaying = false; };