diff options
Diffstat (limited to 'src/state/shell/drawer-open.tsx')
-rw-r--r-- | src/state/shell/drawer-open.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/state/shell/drawer-open.tsx b/src/state/shell/drawer-open.tsx index a2322f680..061ff53d7 100644 --- a/src/state/shell/drawer-open.tsx +++ b/src/state/shell/drawer-open.tsx @@ -8,6 +8,7 @@ const setContext = React.createContext<SetContext>((_: boolean) => {}) export function Provider({children}: React.PropsWithChildren<{}>) { const [state, setState] = React.useState(false) + return ( <stateContext.Provider value={state}> <setContext.Provider value={setState}>{children}</setContext.Provider> |