From 14615a7715d06bedbd3fd12a86f58b2c9218a2ce Mon Sep 17 00:00:00 2001 From: Jonathan Summers-Muir Date: Wed, 1 Jun 2022 16:41:56 +0800 Subject: [PATCH] fix: add handleRest back into Form Component Accidentally removed --- src/components/Form/Form.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/Form/Form.tsx b/src/components/Form/Form.tsx index 595c2798..459139a2 100644 --- a/src/components/Form/Form.tsx +++ b/src/components/Form/Form.tsx @@ -85,6 +85,8 @@ export default function Form({ validate, ...props }: Props) { initialValues: formik.initialValues, /** Current values of form */ values: formik.values, + /** Resets the form back to initialValues */ + handleReset: formik.handleReset, })} />