mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-17 18:09:09 +00:00
feat(web): add error pages (#193)
This commit is contained in:
parent
f4165f8055
commit
a5f819bc3e
4 changed files with 23 additions and 3 deletions
|
@ -9,7 +9,7 @@ const ServersPage = () => {
|
|||
const { isAuthenticated, session } = useSessionContext();
|
||||
const appShellProps = useAppShellProps();
|
||||
if (!isAuthenticated || !session) {
|
||||
return <Redirect to="/" />;
|
||||
return <Redirect to="/" noThrow />;
|
||||
}
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue