From 36ebb869be26f119053767f18ec54ea7c24e6314 Mon Sep 17 00:00:00 2001 From: wangyijing Date: Mon, 1 Jul 2024 02:22:11 +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 66faef598..7aca45258 100644 --- a/app/components/settings.tsx +++ b/app/components/settings.tsx @@ -513,7 +513,7 @@ function ImportConfigModal(props: { onClose?: () => void }) { autoFocus placeholder={Locale.Settings.Sync.Config.ImportModal.Placeholder} value={importString} - rows={props.rows ?? 3} + rows={props?.rows ?? 3} onInput={(e) => { setImportString(e.currentTarget.value); }}