This commit is contained in:
wangyijing 2024-07-01 02:22:11 +08:00
parent c75c07a4fe
commit 36ebb869be

View File

@ -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);
}}