mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 21:41:57 +00:00
refactor(FE-316): Remove toggleExpandedDrawer from drawer slice
This commit is contained in:
@@ -41,10 +41,6 @@ export const createDrawerUISlice: StateCreator<
|
||||
|
||||
expandedDrawerOpen: false,
|
||||
setExpandedDrawerOpen: (open: boolean) => set({ expandedDrawerOpen: open }),
|
||||
toggleExpandedDrawer: () => {
|
||||
const current = get().expandedDrawerOpen;
|
||||
set({ expandedDrawerOpen: !current });
|
||||
},
|
||||
|
||||
expandedDrawerContent: null as ReactNode | null,
|
||||
setExpandedDrawerContent: (content: ReactNode) =>
|
||||
|
||||
Reference in New Issue
Block a user