Fix prod nginx

This commit is contained in:
2023-09-20 14:46:35 +02:00
committed by Clément Le Bihan
parent ee8e0e26db
commit 7aa7f50ecb
8 changed files with 21 additions and 11 deletions
-1
View File
@@ -9,7 +9,6 @@ export const Metronome = ({ paused = false, bpm }: { paused?: boolean; bpm: numb
useEffect(() => {
if (paused) return;
const int = setInterval(() => {
console.log(enabled.current, volume.current);
if (!enabled.current) return;
if (!ref.current) ref.current = new Audio('/assets/metronome.mp3');
ref.current.volume = volume.current / 100;