From c97edd6ed9f1193ea169e1fdddcf7517a245a074 Mon Sep 17 00:00:00 2001 From: CANCI0 Date: Mon, 11 Mar 2024 15:35:53 +0100 Subject: [PATCH] Ahora el desconectar redirecciona al login --- webapp/src/components/Nav/Nav.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/src/components/Nav/Nav.js b/webapp/src/components/Nav/Nav.js index ec3c668b..2acbaae5 100644 --- a/webapp/src/components/Nav/Nav.js +++ b/webapp/src/components/Nav/Nav.js @@ -19,7 +19,7 @@ const Nav = () => { const Logout = () => { localStorage.removeItem("token"); - navigate("") + navigate("/") }; return (