diff --git a/src/screens/SignUp.tsx b/src/screens/SignUp.tsx index 73a367d..cc3c2c5 100644 --- a/src/screens/SignUp.tsx +++ b/src/screens/SignUp.tsx @@ -20,7 +20,15 @@ type FormDataProps = { export function SignUp() { const navigation = useNavigation(); - const { control, handleSubmit } = useForm(); + const { control, handleSubmit } = useForm({ + // unnecessary because this is a registration screen + defaultValues: { + name: '', + email: '', + password: '', + confirmPassword: '', + }, + }); function handleSignUp({ name, email, password, confirmPassword }: FormDataProps) { console.debug({