Skip to content

Commit

Permalink
Close save help dialog with esc or overlay click
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-robert committed Nov 18, 2024
1 parent a09d4dc commit 185abfc
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/components/SaveHelpDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,7 @@ const SaveHelpDialog = ({ isOpen, onClose, onSave }: SaveHelpDialogProps) => {
[setSettings]
);
return (
<Modal
size="xl"
isOpen={isOpen}
onClose={onClose}
closeOnOverlayClick={false}
closeOnEsc={false}
isCentered
>
<Modal size="xl" isOpen={isOpen} onClose={onClose} isCentered>
<ModalOverlay>
<ModalContent>
<ModalHeader>
Expand Down

0 comments on commit 185abfc

Please sign in to comment.