dashboard -> home (#1194)
This commit is contained in:
@ -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;
|
||||
});
|
||||
|
Reference in New Issue
Block a user