diff --git a/cosiap_frontend/src/components/common/layouts/LayoutsNavigation/Sidebar/Sidebar.jsx b/cosiap_frontend/src/components/common/layouts/LayoutsNavigation/Sidebar/Sidebar.jsx
index e4fb6de23c995df62f9cb7ee636b898fa664828e..13056d9a5cca3b38158caa0209c8b85d44448aa1 100644
--- a/cosiap_frontend/src/components/common/layouts/LayoutsNavigation/Sidebar/Sidebar.jsx
+++ b/cosiap_frontend/src/components/common/layouts/LayoutsNavigation/Sidebar/Sidebar.jsx
@@ -6,8 +6,10 @@ import SidebarLinks from "@/components/common/layouts/LayoutsNavigation/Sidebar/
import SidebarBrand from "@/components/common/layouts/LayoutsNavigation/Sidebar/SidebarBrand";
import Notifications from "@/components/common/layouts/LayoutsNavigation/Sidebar/Notifications";
import MobileMenu from "@/components/common/layouts/LayoutsNavigation/Sidebar/MobileMenu";
+import { useAutenticacion } from '@/components/common/utility/Autenticador';
export default function Sidebar( {linksItems, viewMenu, setViewMenu} ){
+ const {cerrarSesion} = useAutenticacion();
const navigate = useNavigate();
// Estado para controlar la visibilidad de las notificaciones
const [viewNotifications, setViewNotifications] = useState(false);
@@ -79,7 +81,7 @@ export default function Sidebar( {linksItems, viewMenu, setViewMenu} ){
setViewMenu={setViewMenu}
/>