Skip to content

Commit

Permalink
fixup! feat(react-keytips): add startDelay prop
Browse files Browse the repository at this point in the history
  • Loading branch information
mainframev committed Oct 30, 2024
1 parent 7bb58e2 commit 5c9bafd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-keytips/src/hooks/useHotkeys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ export const useHotkeys = (
return () => {
doc?.removeEventListener(invokeEvent, handleInvokeEvent);
doc?.removeEventListener('keyup', handleKeyUp);
clearDelayTimeout();
};
}, [hotkeys, doc]);
};

0 comments on commit 5c9bafd

Please sign in to comment.