From 070c3b5af60c8c68e2ac49864136cc6123a4e5e6 Mon Sep 17 00:00:00 2001 From: nzambello Date: Mon, 13 Dec 2021 21:04:58 +0100 Subject: [PATCH] fix: typo --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 91bb84b..d50e854 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -44,7 +44,7 @@ function App() { useEffect(() => { if (alarmSet && distance > stopDistance) { setAlarmSet(false); - alarmPlaying(false); + setAlarmPlaying(false); setAlarm(null); } }, [distance, alarmSet]);