Browse Source

fix format

pull/185/head
Marc Hyeler 2 years ago
parent
commit
742f16c324
  1. 3
      src/core/utils/notify.ts

3
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;
};

Loading…
Cancel
Save