dashboard -> home (#1194)

This commit is contained in:
Tom Moor
2020-02-26 21:10:20 -08:00
committed by GitHub
parent d06ec5ce0c
commit dac2d43f55
12 changed files with 21 additions and 20 deletions

View File

@ -9,7 +9,7 @@ type Props = {
};
const Home = observer(({ auth }: Props) => {
if (auth.authenticated) return <Redirect to="/dashboard" />;
if (auth.authenticated) return <Redirect to="/home" />;
auth.logout(true);
return null;
});