fix null initial values for wallet forms

This commit is contained in:
k00b 2024-08-14 13:22:17 -05:00
parent 11ac605cd9
commit ddb32e0bb7
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ export default function WalletSettings () {
...acc,
[field.name]: wallet.config?.[field.name] || ''
}
}, wallet.config)
}, wallet.config || {})
// check if wallet uses the form-level validation built into Formik or a Yup schema
const validateProps = typeof wallet.fieldValidation === 'function'