remove unnecessary code & enhance gray color over the app
This commit is contained in:
@@ -32,6 +32,9 @@ export const PrivateRoute = ({
|
||||
// ? !!newPermissions.find((p) => p.name === permission)
|
||||
// : true;
|
||||
|
||||
console.log(token);
|
||||
|
||||
|
||||
if (!token) {
|
||||
return <Navigate to={`/${id}/login`} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user