Skip to content

Commit

Permalink
Fix another bug
Browse files Browse the repository at this point in the history
Signed-off-by: Param Siddharth <[email protected]>
  • Loading branch information
paramsiddharth committed Oct 16, 2024
1 parent 355bc06 commit df834eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function App() {
}, 500);
return () => interval && clearInterval(interval);
}
}, [alarmEnabled, alarmTime, alarmColour, setColour]);
}, [alarmEnabled, alarmTime, alarmColour, setColour, soundEnabled]);

useEffect(() => {
if (!alarmEnabled) {
Expand Down

0 comments on commit df834eb

Please sign in to comment.