Skip to content

Commit

Permalink
Make device vibration longer
Browse files Browse the repository at this point in the history
  • Loading branch information
slavikdenis committed Nov 27, 2020
1 parent 525bcb7 commit 63e5056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export function useVibrate() {
const [isSupported, setIsSupported] = useState(false);

const vibrate = useCallback(
() => (isSupported ? navigator.vibrate(200) : noop),
() => (isSupported ? navigator.vibrate(300) : noop),
[isSupported],
);

Expand Down

0 comments on commit 63e5056

Please sign in to comment.