sort marca
This commit is contained in:
@@ -13,7 +13,8 @@ function BarNavigation() {
|
||||
|
||||
const cerrarSesion = () => {
|
||||
if (typeof window !== "undefined") {
|
||||
localStorage.removeItem("loggedIn");
|
||||
document.cookie =
|
||||
"token=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT; SameSite=Strict";
|
||||
router.push("/");
|
||||
}
|
||||
setOpenMenu(false);
|
||||
|
||||
Reference in New Issue
Block a user