fix the auth form
All checks were successful
Deploy / deploy (ubuntu-latest, 2.44.0) (push) Successful in 1m22s

This commit is contained in:
Braydon 2024-09-20 00:14:26 -04:00
parent cf122de847
commit db145f9eb8

@ -128,9 +128,8 @@ const AuthForm = (): ReactElement => {
method: "POST",
body: { email },
});
if (error) {
setError(error.message);
} else {
setError(error?.message);
if (!error) {
setStage(data?.exists ? "login" : "register");
}
} else {