forked from Transparency/kgroad-frontend2
fixed redirect to profile
This commit is contained in:
parent
18f173820f
commit
006a1a7b7b
@ -50,7 +50,7 @@ const SignInForm = () => {
|
||||
setLoader(false);
|
||||
|
||||
if (res?.ok && !res.error) {
|
||||
// router.push("/profile/personal");
|
||||
router.push("/profile/personal");
|
||||
} else if ([400, 401, 404].includes(res?.status as number)) {
|
||||
setError("Неверный Email или Пароль");
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user