[go: nahoru, domu]

Skip to content

Commit

Permalink
Fix removeEventListener type
Browse files Browse the repository at this point in the history
  • Loading branch information
KentaKudo committed May 23, 2021
1 parent d94f08e commit 969752a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/VisuallyHidden/VisuallyHidden.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const VisuallyHidden = ({ children, ...delegated }) => {

return () => {
window.removeEventListener('keydown', handleKeyDown);
window.removeEventListener('keydown', handleKeyUp);
window.removeEventListener('keyup', handleKeyUp);
};
}
}, []);
Expand Down

0 comments on commit 969752a

Please sign in to comment.