fix: typo
This commit is contained in:
parent
ef1ac71612
commit
070c3b5af6
|
|
@ -44,7 +44,7 @@ function App() {
|
|||
useEffect(() => {
|
||||
if (alarmSet && distance > stopDistance) {
|
||||
setAlarmSet(false);
|
||||
alarmPlaying(false);
|
||||
setAlarmPlaying(false);
|
||||
setAlarm(null);
|
||||
}
|
||||
}, [distance, alarmSet]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue