fixed redirect to profile

This commit is contained in:
Alibek 2024-03-16 19:04:37 +06:00
parent 18f173820f
commit 006a1a7b7b

View File

@ -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 {