From e532ec3891c5698d196823b95cf48fecedcb5807 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 23 Feb 2021 11:14:41 +0100 Subject: [PATCH] remove value reset on mount --- src/components/pages/Publish/FormAlgoPublish.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/pages/Publish/FormAlgoPublish.tsx b/src/components/pages/Publish/FormAlgoPublish.tsx index 5b148e9a8..a37b5c2c0 100644 --- a/src/components/pages/Publish/FormAlgoPublish.tsx +++ b/src/components/pages/Publish/FormAlgoPublish.tsx @@ -57,7 +57,7 @@ export default function FormPublish(): ReactElement { useEffect(() => { setErrors({}) setTouched({}) - resetForm({ values: initialValues, status: 'empty' }) + // setSubmitting(false) }, [setErrors, setTouched])