fix null initial values for wallet forms
This commit is contained in:
parent
11ac605cd9
commit
ddb32e0bb7
@ -31,7 +31,7 @@ export default function WalletSettings () {
|
|||||||
...acc,
|
...acc,
|
||||||
[field.name]: wallet.config?.[field.name] || ''
|
[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
|
// check if wallet uses the form-level validation built into Formik or a Yup schema
|
||||||
const validateProps = typeof wallet.fieldValidation === 'function'
|
const validateProps = typeof wallet.fieldValidation === 'function'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user