Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 6753 Rev 6805
Línea 54... Línea 54...
54
)
54
)
55
const CompanyInvitationsReceivedPage = lazy(() =>
55
const CompanyInvitationsReceivedPage = lazy(() =>
56
  import('../pages/company/CompanyInvitationsReceivedPage')
56
  import('../pages/company/CompanyInvitationsReceivedPage')
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'))
Línea 59... Línea 60...
59
 
60
 
60
const AppRouter = () => {
61
const AppRouter = () => {
61
  const { isAuth, theme_id } = useSelector(({ auth }) => auth)
62
  const { isAuth, theme_id } = useSelector(({ auth }) => auth)
Línea 210... Línea 211...
210
            <CompanyInvitationsReceivedPage />
211
            <CompanyInvitationsReceivedPage />
211
          </PrivateRoute>
212
          </PrivateRoute>
212
          <PrivateRoute path="/profile/view/:uuid" isAuthenticated={isAuth}>
213
          <PrivateRoute path="/profile/view/:uuid" isAuthenticated={isAuth}>
213
            <ProfileViewPage />
214
            <ProfileViewPage />
214
          </PrivateRoute>
215
          </PrivateRoute>
-
 
216
          <PrivateRoute
-
 
217
            path="/profile/my-profiles/edit/:uuid"
-
 
218
            isAuthenticated={isAuth}
-
 
219
          >
-
 
220
            <ProfileEditPage />
-
 
221
          </PrivateRoute>
Línea 215... Línea 222...
215
 
222
 
216
          <PublicRoute path="/" isAuthenticated={isAuth}>
223
          <PublicRoute path="/" isAuthenticated={isAuth}>
217
            <Auth />
224
            <Auth />
218
          </PublicRoute>
225
          </PublicRoute>