Skip to content

Commit

Permalink
Changed reset params
Browse files Browse the repository at this point in the history
  • Loading branch information
vgeffer committed Nov 23, 2024
1 parent af703fa commit 25935ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/RegisterForm/RegisterForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const RegisterForm: FC = () => {
})

const onSubmit: SubmitHandler<RegisterFormValues> = (data) => {
reset({}, {keepValues: true})
reset(undefined, {keepValues: true})
submitFormData(data)
}

Expand Down

0 comments on commit 25935ee

Please sign in to comment.