Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 7332 Rev 7333
Línea 55... Línea 55...
55
  }
55
  }
Línea 56... Línea 56...
56
 
56
 
57
  const handleLogout = (e) => {
57
  const handleLogout = (e) => {
58
    e.preventDefault()
58
    e.preventDefault()
59
    axios
59
    axios
60
      .get('/logout')
60
      .get('/signout')
61
      .then((response) => {
61
      .then((response) => {
62
        if (response.status === 200) {
62
        if (response.status === 200) {
63
          dispatch(logout())
63
          dispatch(logout())
64
        }
64
        }