diff options
Diffstat (limited to 'src/state/preferences/disable-haptics.tsx')
-rw-r--r-- | src/state/preferences/disable-haptics.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state/preferences/disable-haptics.tsx b/src/state/preferences/disable-haptics.tsx index 367d4f7db..592b80ef3 100644 --- a/src/state/preferences/disable-haptics.tsx +++ b/src/state/preferences/disable-haptics.tsx @@ -8,7 +8,9 @@ type SetContext = (v: boolean) => void const stateContext = React.createContext<StateContext>( Boolean(persisted.defaults.disableHaptics), ) +stateContext.displayName = 'DisableHapticsStateContext' const setContext = React.createContext<SetContext>((_: boolean) => {}) +setContext.displayName = 'DisableHapticsSetContext' export function Provider({children}: {children: React.ReactNode}) { const [state, setState] = React.useState( |