mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-08 02:56:39 +08:00
fix bug
This commit is contained in:
parent
b2e88e993b
commit
c75c07a4fe
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user