mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-24 19:39:11 +00:00
makes login use location.href instead of navigate()
This commit is contained in:
parent
b3f9f57035
commit
7ba0b6316e
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ const Login = (props: { path: string }) => {
|
|||
if (isAuthenticated) {
|
||||
navigate('/servers');
|
||||
}
|
||||
navigate(redirectUrl);
|
||||
location.href = redirectUrl;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue