From 2795a46873800823d095a68103d8aacd6a42e257 Mon Sep 17 00:00:00 2001 From: thewh1teagle <61390950+thewh1teagle@users.noreply.github.com> Date: Sun, 19 Nov 2023 03:23:26 +0200 Subject: [PATCH] add vibration --- web/src/App.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/App.tsx b/web/src/App.tsx index a46dc50..2f14716 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -27,6 +27,7 @@ function App() { const [conn, setConn] = useState(null); function sendMessage(data: Message) { + navigator.vibrate(100) if (!noSleep.isEnabled) { console.log('No sleep enabled') noSleep.enable()