Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 6862 | Rev 6895 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 6862 Rev 6894
Línea 57... Línea 57...
57
)
57
)
58
const ProfileViewPage = lazy(() => import('../pages/profiles/ProfileViewPage'))
58
const ProfileViewPage = lazy(() => import('../pages/profiles/ProfileViewPage'))
59
const ProfileEditPage = lazy(() => import('../pages/profiles/ProfileEditPage'))
59
const ProfileEditPage = lazy(() => import('../pages/profiles/ProfileEditPage'))
60
const CompanyViewPage = lazy(() => import('../pages/company/CompanyViewPage'))
60
const CompanyViewPage = lazy(() => import('../pages/company/CompanyViewPage'))
61
const GroupViewPage = lazy(() => import('../pages/groups/GroupViewPage'))
61
const GroupViewPage = lazy(() => import('../pages/groups/GroupViewPage'))
-
 
62
const GroupEditPage = lazy(() => import('../pages/groups/GroupEditPage'))
Línea 62... Línea 63...
62
 
63
 
63
const AppRouter = () => {
64
const AppRouter = () => {
64
  const { isAuth, theme_id } = useSelector(({ auth }) => auth)
65
  const { isAuth, theme_id } = useSelector(({ auth }) => auth)
Línea 179... Línea 180...
179
            <MyGroupsPage />
180
            <MyGroupsPage />
180
          </PrivateRoute>
181
          </PrivateRoute>
181
          <PrivateRoute path="/group/view/:uuid" isAuthenticated={isAuth}>
182
          <PrivateRoute path="/group/view/:uuid" isAuthenticated={isAuth}>
182
            <GroupViewPage />
183
            <GroupViewPage />
183
          </PrivateRoute>
184
          </PrivateRoute>
-
 
185
          <PrivateRoute
-
 
186
            path="/profile/my-profiles/edit/:uuid"
-
 
187
            isAuthenticated={isAuth}
-
 
188
          >
-
 
189
            <GroupEditPage />
-
 
190
          </PrivateRoute>
Línea 184... Línea 191...
184
 
191
 
185
          <PrivateRoute
192
          <PrivateRoute
186
            exact
193
            exact
187
            path="/company/my-companies"
194
            path="/company/my-companies"