From c75c07a4fefebc8a5f47e29aac632ff07d6b288e Mon Sep 17 00:00:00 2001 From: wangyijing Date: Mon, 1 Jul 2024 02:17:00 +0800 Subject: [PATCH] fix bug --- app/components/settings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/settings.tsx b/app/components/settings.tsx index 36ffdb84a..66faef598 100644 --- a/app/components/settings.tsx +++ b/app/components/settings.tsx @@ -482,7 +482,7 @@ function ImportConfigModal(props: { onClose?: () => void }) { { - props.onClose(); + props.onClose?.(); }} icon={} bordered