From b0d1f29a83ad1d15dc6d5c1a5692474a4b128926 Mon Sep 17 00:00:00 2001 From: nzambello Date: Tue, 21 Dec 2021 18:48:20 +0100 Subject: [PATCH] fix: playing state --- src/App.tsx | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 286af45..a5b43e1 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -64,7 +64,6 @@ function App() { resetAlarm(); } else if (alarmSet) { setHasWalked(false); - audioRef.current?.play(); } }, [distance, alarmSet]); @@ -150,22 +149,6 @@ function App() {

Walk-up alarm

- {/* - } - value={alarm ? format(alarm, "HH:mm") : undefined} - onChange={(e) => { - setAlarm(parse(e.target.value, "HH:mm", new Date())); - }} - /> */}