Client: restrict route

This commit is contained in:
Viktor Fomin 2023-09-26 23:24:25 +03:00
parent b072a95e77
commit b545e62061

View File

@ -31,7 +31,7 @@ const generalRoutes = [
{ {
path: "profile/file-management", path: "profile/file-management",
element: ( element: (
<PrivateRoute> <PrivateRoute withCollaborator restricted>
<Profile /> <Profile />
</PrivateRoute> </PrivateRoute>
), ),