| 7 | } |
| 8 | |
| 9 | interface LayoutState { |
| 10 | showSidebar: boolean; |
| 11 | isMobileView: boolean; |
| 12 | toggleSidebar: (show?: boolean) => void; |
| 13 | setIsMobileView: (value: boolean) => void; |
| 14 | } |
| 15 | |
| 16 | export const useLayoutStore = create<LayoutState>()((set) => ({ |
| 17 | showSidebar: true, |
nothing calls this directly
no outgoing calls
no test coverage detected