Skip to content

Commit

Permalink
Ahora el desconectar redirecciona al login
Browse files Browse the repository at this point in the history
  • Loading branch information
CANCI0 committed Mar 11, 2024
1 parent 8c09ea0 commit c97edd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/components/Nav/Nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Nav = () => {

const Logout = () => {
localStorage.removeItem("token");
navigate("")
navigate("/")
};

return (
Expand Down

0 comments on commit c97edd6

Please sign in to comment.