Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 6514 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 6514 Rev 6520
Línea 7... Línea 7...
7
      {...rest}
7
      {...rest}
8
      render={({ location }) =>
8
      render={({ location }) =>
9
        isAuthenticated ? (
9
        isAuthenticated ? (
10
          <Redirect
10
          <Redirect
11
            to={{
11
            to={{
12
              pathname: '/dashboard',
12
              pathname: '/home',
13
              state: { from: location },
13
              state: { from: location },
14
            }}
14
            }}
15
          />
15
          />
16
        ) : (
16
        ) : (
17
          children
17
          children