"use client" import { createContext } from "react" /** * Context used to manage the sidebar expansion state. * This is used to prevent the sidebar from expanding after user clicks on an item. * After moving their mouse out of the sidebar, it can expand again. */ export const SidebarContext = createContext({ disableExpand: false, setDisableExpand: (_disableHover: boolean) => {}, })