Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyshull committed Mar 28, 2024
1 parent b7eccc8 commit ea0b616
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions assets/ts/components/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ const ModalContent = ({
passive: true
});

return () =>
document.removeEventListener("DOMContentLoaded", closeModal);
return () => document.removeEventListener("DOMContentLoaded", closeModal);
}, [closeModal]);

useLayoutEffect(() => {
Expand Down

0 comments on commit ea0b616

Please sign in to comment.