Skip to content

Commit

Permalink
add vibration
Browse files Browse the repository at this point in the history
  • Loading branch information
thewh1teagle committed Nov 19, 2023
1 parent b1af3fb commit 2795a46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ function App() {
const [conn, setConn] = useState<DataConnection | null>(null);

function sendMessage(data: Message) {
navigator.vibrate(100)
if (!noSleep.isEnabled) {
console.log('No sleep enabled')
noSleep.enable()
Expand Down

0 comments on commit 2795a46

Please sign in to comment.