Fixed metronome not repecting control

This commit is contained in:
Clément Le Bihan
2023-11-06 18:18:58 +01:00
parent 4c98759ded
commit c5e5519426
+1 -1
View File
@@ -17,7 +17,7 @@ export const MetronomeControls = ({ paused = false, bpm }: { paused?: boolean; b
ref.current.play();
}, 60000 / bpm);
return () => clearInterval(int);
}, [bpm, paused]);
}, [bpm, paused, enabled, volume]);
return (
<View flex={1}>
<View