Skip to content

Commit

Permalink
refactor: prevent modal close on click outside
Browse files Browse the repository at this point in the history
  • Loading branch information
cpvalente committed Dec 13, 2024
1 parent a1fb642 commit 26a2444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/client/src/features/editors/welcome/Welcome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default function Welcome(props: WelcomeProps) {
};

return (
<Modal isOpen onClose={handleClose} variant='ontime'>
<Modal isOpen onClose={handleClose} closeOnOverlayClick={false} variant='ontime'>
<ModalOverlay />
<ModalContent maxWidth='max(640px, 40vw)'>
<ModalCloseButton />
Expand Down

0 comments on commit 26a2444

Please sign in to comment.