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/starter-pack.tsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/state/shell/starter-pack.tsx') diff --git a/src/state/shell/starter-pack.tsx b/src/state/shell/starter-pack.tsx index f564712f0..8da2bcc5c 100644 --- a/src/state/shell/starter-pack.tsx +++ b/src/state/shell/starter-pack.tsx @@ -9,7 +9,9 @@ type StateContext = type SetContext = (v: StateContext) => void const stateContext = React.createContext(undefined) +stateContext.displayName = 'ActiveStarterPackStateContext' const setContext = React.createContext((_: StateContext) => {}) +setContext.displayName = 'ActiveStarterPackSetContext' export function Provider({children}: {children: React.ReactNode}) { const [state, setState] = React.useState() -- cgit 1.4.1