This commit is contained in:
rgrgogu
2026-05-23 14:03:48 +08:00
parent 768092901a
commit 56d984a26a
15 changed files with 1395 additions and 251 deletions
+2 -2
View File
@@ -2,8 +2,8 @@ import ProtectedRoute from '../../../routes/ProtectedRoute'
import Client from '../pages/Client'
export const ClientRoutes = {
element: <ProtectedRoute allowedRoles={['client']} />,
element: <ProtectedRoute allowedRoles={['user']} />,
children: [
{ path: '/client', element: <Client /> },
{ path: '/dashboard', element: <Client /> },
],
}