Mirror: React hooks for accessible, common web interactions. UI super powers without the UI.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update useDismissable.ts (#1)

authored by

Andy Richardson and committed by
GitHub
aafbbe12 6b1b2d0d

+1 -1
+1 -1
src/useDismissable.ts
··· 80 80 document.removeEventListener('touchstart', onClick); 81 81 document.removeEventListener('keydown', onKey); 82 82 }; 83 - }, [ref, hasPriority, disabled, focusLoss]); 83 + }, [ref.current, hasPriority, disabled, focusLoss]); 84 84 }