mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-07 18:46:38 +08:00
fix bug
This commit is contained in:
parent
b2e88e993b
commit
c75c07a4fe
@ -482,7 +482,7 @@ function ImportConfigModal(props: { onClose?: () => void }) {
|
||||
<IconButton
|
||||
key="cancel"
|
||||
onClick={() => {
|
||||
props.onClose();
|
||||
props.onClose?.();
|
||||
}}
|
||||
icon={<CancelIcon />}
|
||||
bordered
|
||||
|
Loading…
Reference in New Issue
Block a user