diff options
Diffstat (limited to 'src/state/shell/drawer-swipe-disabled.tsx')
-rw-r--r-- | src/state/shell/drawer-swipe-disabled.tsx | 2 |
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) |