Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 6920 Rev 6947
Línea 59... Línea 59...
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'))
62
const GroupEditPage = lazy(() => import('../pages/groups/GroupEditPage'))
63
const ChatPage = lazy(() => import('../pages/chat/ChatPage'))
63
const ChatPage = lazy(() => import('../pages/chat/ChatPage'))
-
 
64
const InmailPage = lazy(() => import('../pages/chat/ChatPage'))
Línea 64... Línea 65...
64
 
65
 
65
const AppRouter = () => {
66
const AppRouter = () => {
66
  const { isAuth, theme_id } = useSelector(({ auth }) => auth)
67
  const { isAuth, theme_id } = useSelector(({ auth }) => auth)
Línea 237... Línea 238...
237
          </PrivateRoute>
238
          </PrivateRoute>
Línea 238... Línea 239...
238
 
239
 
239
          <PrivateRoute path="/chat" isAuthenticated={isAuth}>
240
          <PrivateRoute path="/chat" isAuthenticated={isAuth}>
240
            <ChatPage />
241
            <ChatPage />
-
 
242
          </PrivateRoute>
-
 
243
          <PrivateRoute path="/inmail" isAuthenticated={isAuth}>
-
 
244
            <InmailPage />
Línea 241... Línea 245...
241
          </PrivateRoute>
245
          </PrivateRoute>
242
 
246
 
243
          <PublicRoute path="/" isAuthenticated={isAuth}>
247
          <PublicRoute path="/" isAuthenticated={isAuth}>
244
            <Auth />
248
            <Auth />