Skip to content

Commit 7fae7b7

Browse files
committed
modal destroyOnClose
1 parent 2fc6d8e commit 7fae7b7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • chat2db-client/src/components/Modal/BaseModal

chat2db-client/src/components/Modal/BaseModal/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ const Modal = memo(() => {
3535
onCancel={() => {
3636
setOpen(false);
3737
}}
38+
destroyOnClose={true}
3839
footer={modalData.footer || false}
3940
>
4041
{modalData.content}

0 commit comments

Comments
 (0)