Skip to content

Commit 0a5cd13

Browse files
authored
fix: Fixes Cancel button not working on Super export modal (#2968) [skip e2e]
1 parent 308b98d commit 0a5cd13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/web/src/javascripts/Components/NotesOptions/SuperExportModal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ const ModalContent = observer(() => {
3939
<Modal
4040
title="Export notes"
4141
className="p-4"
42-
close={close}
42+
close={notesController.closeSuperExportModal}
4343
actions={[
4444
{
4545
label: 'Cancel',
4646
type: 'cancel',
47-
onClick: close,
47+
onClick: notesController.closeSuperExportModal,
4848
mobileSlot: 'left',
4949
},
5050
{

0 commit comments

Comments
 (0)