Fix found bugs during demo

This commit is contained in:
Dave Richer
2023-12-12 13:38:23 -05:00
parent fe80256a40
commit 95c9978ee7
8 changed files with 96 additions and 97 deletions

View File

@@ -15,8 +15,8 @@ export function LandingPage({ currentUser }) {
const navigate = useNavigate();
useEffect(() => {
if (!currentUser.authorized) {
navigate('/manage/');
if (currentUser.authorized) {
navigate('/manage/jobs');
}
}, [currentUser, navigate]);