From b2c56cbd6dfa9af576f947dd41a0d33376b184d1 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Thu, 14 Aug 2025 01:12:31 +0300 Subject: Add displayName to contexts (#8814) --- src/state/shell/minimal-mode.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/state/shell/minimal-mode.tsx') diff --git a/src/state/shell/minimal-mode.tsx b/src/state/shell/minimal-mode.tsx index eba3aa2b0..93eb47028 100644 --- a/src/state/shell/minimal-mode.tsx +++ b/src/state/shell/minimal-mode.tsx @@ -1,5 +1,9 @@ import React from 'react' -import {SharedValue, useSharedValue, withSpring} from 'react-native-reanimated' +import { + type SharedValue, + useSharedValue, + withSpring, +} from 'react-native-reanimated' type StateContext = { headerMode: SharedValue @@ -29,7 +33,9 @@ const stateContext = React.createContext({ set() {}, }, }) +stateContext.displayName = 'MinimalModeStateContext' const setContext = React.createContext((_: boolean) => {}) +setContext.displayName = 'MinimalModeSetContext' export function Provider({children}: React.PropsWithChildren<{}>) { const headerMode = useSharedValue(0) -- cgit 1.4.1