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