Big progress!
This commit is contained in:
@@ -16,9 +16,9 @@ export function LandingPage({ currentUser }) {
|
||||
|
||||
useEffect(() => {
|
||||
if (!currentUser.authorized) {
|
||||
navigate('/manage');
|
||||
navigate('/manage/');
|
||||
}
|
||||
}, [currentUser, navigate]);
|
||||
|
||||
return currentUser.authorized ? <LandingPageStatic /> : <div />;
|
||||
return <LandingPageStatic /> ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user