Skip to content

Commit

Permalink
Actualizado cerrado de sesión
Browse files Browse the repository at this point in the history
  • Loading branch information
uo284548 committed May 2, 2023
1 parent aa3ad01 commit 112d1e7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions webapp/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ function App(): JSX.Element {
session.onLogout(()=>{
setIsLoggedIn(false)
// Al cerrar sesion elimina los marcadores del usuario de la memoria
markersDispatch({ type: Types.SET, payload: { markers: [] } })
newsDispatch({ type: Types.SET, payload: { newsList: [] } })
routesDispatch({ type: Types.SET, payload: { routes: [] } })
})

// eslint-disable-next-line react-hooks/exhaustive-deps
Expand Down

0 comments on commit 112d1e7

Please sign in to comment.