1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-13 16:54:53 +01:00

remove value reset on mount

This commit is contained in:
Matthias Kretschmann 2021-02-23 11:14:41 +01:00
parent ea9952cc56
commit e532ec3891
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -57,7 +57,7 @@ export default function FormPublish(): ReactElement {
useEffect(() => {
setErrors({})
setTouched({})
resetForm({ values: initialValues, status: 'empty' })
// setSubmitting(false)
}, [setErrors, setTouched])