- updates;
This commit is contained in:
@@ -17,9 +17,9 @@ const ProtectedRoute = () => {
|
||||
return (<Navigate to={'/login?redirectReason=auth_required'} replace/>);
|
||||
}
|
||||
|
||||
if (window.location.pathname === '/') {
|
||||
/*if (window.location.pathname === '/') {
|
||||
return (<Navigate to={'/'} replace/>);
|
||||
}
|
||||
}*/
|
||||
|
||||
return <Outlet/>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user