Skip to content

Commit

Permalink
suppress lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Aug 17, 2024
1 parent d91eeca commit 00233f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Modal/ModalContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ type ModalContentProps = {
};

function ModalContent({children, onDismiss = () => {}, onModalWillShow = () => {}}: ModalContentProps) {
// eslint-disable-next-line react-compiler/react-compiler, react-hooks/exhaustive-deps
React.useEffect(() => {
onModalWillShow();
return onDismiss;
// eslint-disable-next-line react-compiler/react-compiler, react-hooks/exhaustive-deps

Check failure on line 23 in src/components/Modal/ModalContent.tsx

View workflow job for this annotation

GitHub Actions / Run ESLint

Insert `····`
}, []);
return children;
}
Expand Down

0 comments on commit 00233f0

Please sign in to comment.