mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-14 09:14:52 +01:00
remove value reset on mount
This commit is contained in:
parent
ea9952cc56
commit
e532ec3891
@ -57,7 +57,7 @@ export default function FormPublish(): ReactElement {
|
||||
useEffect(() => {
|
||||
setErrors({})
|
||||
setTouched({})
|
||||
resetForm({ values: initialValues, status: 'empty' })
|
||||
|
||||
// setSubmitting(false)
|
||||
}, [setErrors, setTouched])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user