Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 3262 Rev 3263
Línea 38... Línea 38...
38
      const err = typeof data === 'string' ? data : 'Error al iniciar sesión'
38
      const err = typeof data === 'string' ? data : 'Error al iniciar sesión'
39
      throw new Error(err)
39
      throw new Error(err)
40
    }
40
    }
Línea 41... Línea 41...
41
 
41
 
42
    dispatch(login())
-
 
Línea -... Línea 42...
-
 
42
    dispatch(login())
43
    const url = new URL(data.redirect).pathname
43
 
44
 
44
    const redirectPath = new URL(data.redirect).pathname
45
    return url
45
    return { ...data, redirect: redirectPath }
Línea 46... Línea 46...
46
  }
46
  }
47
}
47
}