From 25935eedbbaec421de6c0d3d85ca33e100d9d4c2 Mon Sep 17 00:00:00 2001 From: vgeffer Date: Sat, 23 Nov 2024 13:20:38 +0100 Subject: [PATCH] Changed reset params --- src/components/RegisterForm/RegisterForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/RegisterForm/RegisterForm.tsx b/src/components/RegisterForm/RegisterForm.tsx index c4c7b187..0c04e537 100644 --- a/src/components/RegisterForm/RegisterForm.tsx +++ b/src/components/RegisterForm/RegisterForm.tsx @@ -96,7 +96,7 @@ export const RegisterForm: FC = () => { }) const onSubmit: SubmitHandler = (data) => { - reset({}, {keepValues: true}) + reset(undefined, {keepValues: true}) submitFormData(data) }