This commit is contained in:
‘Liammcl’
2025-01-19 16:59:17 +08:00
parent ec73e51a2d
commit 12bda4ab8f
19 changed files with 561 additions and 354 deletions

View File

@@ -29,7 +29,7 @@ export const ProtectedRoute = ({ children }) => {
});
if (!hasPermission) {
return <Navigate to="/home" replace />;
return <Navigate to="/dashboard" replace />;
}
return children;