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