about summary refs log tree commit diff
path: root/src/state/shell/drawer-open.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/shell/drawer-open.tsx')
-rw-r--r--src/state/shell/drawer-open.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state/shell/drawer-open.tsx b/src/state/shell/drawer-open.tsx
index 061ff53d7..87650a09c 100644
--- a/src/state/shell/drawer-open.tsx
+++ b/src/state/shell/drawer-open.tsx
@@ -4,7 +4,9 @@ type StateContext = boolean
 type SetContext = (v: boolean) => void
 
 const stateContext = React.createContext<StateContext>(false)
+stateContext.displayName = 'DrawerOpenStateContext'
 const setContext = React.createContext<SetContext>((_: boolean) => {})
+setContext.displayName = 'DrawerOpenSetContext'
 
 export function Provider({children}: React.PropsWithChildren<{}>) {
   const [state, setState] = React.useState(false)