Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 6534 Rev 6535
Línea 23... Línea 23...
23
    <Router>
23
    <Router>
24
      <Switch>
24
      <Switch>
25
        <PrivateRoute exact path="/home" isAuthenticated={isAuth}>
25
        <PrivateRoute exact path="/home" isAuthenticated={isAuth}>
26
          <h1>Hello</h1>
26
          <h1>Hello</h1>
27
          <DashboardPage />
27
          <DashboardPage />
28
          <PublicRoute path="/" isAuthenticated={isAuth}>
-
 
29
            <Auth />
-
 
30
          </PublicRoute>
-
 
31
        </PrivateRoute>
28
        </PrivateRoute>
-
 
29
 
-
 
30
        <PublicRoute path="/" isAuthenticated={isAuth}>
-
 
31
          <Auth />
-
 
32
        </PublicRoute>
32
      </Switch>
33
      </Switch>
Línea 33... Línea 34...
33
 
34
 
34
      <NotificationAlert />
35
      <NotificationAlert />
35
    </Router>
36
    </Router>