Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

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

Rev 7331 Rev 7332
Línea 54... Línea 54...
54
    }
54
    }
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
      .get('/logout')
60
      .get('/logout')
60
      .then((response) => {
61
      .then((response) => {
61
        if (response.status === 200) {
62
        if (response.status === 200) {
62
          dispatch(logout())
63
          dispatch(logout())