Фикс в логине и регистрации
This commit is contained in:
parent
7a7ee8aab4
commit
31599cd291
@ -64,7 +64,7 @@ const AuthPage = () => {
|
||||
if (Object.keys(errors).length === 0 && submitting && currentUser) {
|
||||
finishSubmit();
|
||||
}
|
||||
}, [errors, submitting, currentUser]);
|
||||
});
|
||||
|
||||
return (
|
||||
<>
|
||||
|
@ -98,7 +98,7 @@ const RegisterPage = () => {
|
||||
if (Object.keys(errors).length === 0 && submitting) {
|
||||
finishSubmit();
|
||||
}
|
||||
}, [errors, submitting, currentUser]);
|
||||
});
|
||||
|
||||
return (
|
||||
<>
|
||||
|
Loading…
Reference in New Issue
Block a user