Add displayName to contexts (#8814)

This commit is contained in:
Samuel Newman
2025-08-14 01:12:31 +03:00
committed by GitHub
parent 275fece3e3
commit b2c56cbd6d
89 changed files with 173 additions and 28 deletions
+2 -1
View File
@@ -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<number>
@@ -28,6 +28,7 @@ const stateContext = React.createContext<StateContext>({
set() {},
},
})
stateContext.displayName = 'ShellLayoutContext'
export function Provider({children}: React.PropsWithChildren<{}>) {
const headerHeight = useSharedValue(0)