mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-23 19:05:16 +02:00
refactor(sidebar): remove sidebarWidth from context and update resize handling
This commit is contained in:
parent
9b1b5a504e
commit
315f4229f9
3 changed files with 15 additions and 20 deletions
|
|
@ -6,7 +6,6 @@ interface SidebarContextValue {
|
|||
isCollapsed: boolean;
|
||||
setIsCollapsed: (collapsed: boolean) => void;
|
||||
toggleCollapsed: () => void;
|
||||
sidebarWidth: number;
|
||||
}
|
||||
|
||||
const SidebarContext = createContext<SidebarContextValue | null>(null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue