feat(web): add error pages (#193)

This commit is contained in:
41666 2021-03-22 21:18:56 -04:00 committed by GitHub
parent f4165f8055
commit a5f819bc3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 23 additions and 3 deletions

View file

@ -9,7 +9,7 @@ const ServersPage = () => {
const { isAuthenticated, session } = useSessionContext();
const appShellProps = useAppShellProps();
if (!isAuthenticated || !session) {
return <Redirect to="/" />;
return <Redirect to="/" noThrow />;
}
return (