Fix infinite browser spinner on login redirect
All checks were successful
Automated Container Build / build-and-push (push) Successful in 53s
All checks were successful
Automated Container Build / build-and-push (push) Successful in 53s
This commit is contained in:
parent
00eac1457c
commit
64aae611fc
1 changed files with 1 additions and 2 deletions
|
|
@ -36,8 +36,7 @@ export default function LoginPage() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
router.push("/");
|
window.location.href = "/";
|
||||||
router.refresh();
|
|
||||||
} catch {
|
} catch {
|
||||||
setError("Network error. Please try again.");
|
setError("Network error. Please try again.");
|
||||||
} finally {
|
} finally {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue