add missing return values

This commit is contained in:
LBlend committed 2024-04-10 03:54:08 +02:00
1 parent 94a02d48cc
commit fb03ae5356
1 file changed
+1 -1
+1 -1
View File
@@ -44,6 +44,6 @@ const useUserRegister = () => {
}
}, [isAuthenticatedPrev, isAuthenticated, navigation]);
return { onSubmit, isRegisteringUser, registerError, control, setFocus, errors };
return { isRegisteringUser, onSubmit, control, isValid, registerError, errors, setFocus };
};
export default useUserRegister;