fix
This commit is contained in:
@@ -29,7 +29,7 @@ export const ProtectedRoute = ({ children }) => {
|
||||
});
|
||||
|
||||
if (!hasPermission) {
|
||||
return <Navigate to="/home" replace />;
|
||||
return <Navigate to="/dashboard" replace />;
|
||||
}
|
||||
|
||||
return children;
|
||||
|
||||
Reference in New Issue
Block a user