refactor(sidebar): remove sidebarWidth from context and update resize handling

This commit is contained in:
Anish Sarkar 2026-05-02 14:01:33 +05:30
parent 9b1b5a504e
commit 315f4229f9
3 changed files with 15 additions and 20 deletions

View file

@ -6,7 +6,6 @@ interface SidebarContextValue {
isCollapsed: boolean;
setIsCollapsed: (collapsed: boolean) => void;
toggleCollapsed: () => void;
sidebarWidth: number;
}
const SidebarContext = createContext<SidebarContextValue | null>(null);