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/shell-layout.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/state/shell/shell-layout.tsx') diff --git a/src/state/shell/shell-layout.tsx b/src/state/shell/shell-layout.tsx index 39f69cfff..f23227bd2 100644 --- a/src/state/shell/shell-layout.tsx +++ b/src/state/shell/shell-layout.tsx @@ -1,5 +1,5 @@ import React from 'react' -import {SharedValue, useSharedValue} from 'react-native-reanimated' +import {type SharedValue, useSharedValue} from 'react-native-reanimated' type StateContext = { headerHeight: SharedValue @@ -28,6 +28,7 @@ const stateContext = React.createContext({ set() {}, }, }) +stateContext.displayName = 'ShellLayoutContext' export function Provider({children}: React.PropsWithChildren<{}>) { const headerHeight = useSharedValue(0) -- cgit 1.4.1