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