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