mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +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(() => {
|
useEffect(() => {
|
||||||
setErrors({})
|
setErrors({})
|
||||||
setTouched({})
|
setTouched({})
|
||||||
resetForm({ values: initialValues, status: 'empty' })
|
|
||||||
// setSubmitting(false)
|
// setSubmitting(false)
|
||||||
}, [setErrors, setTouched])
|
}, [setErrors, setTouched])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user