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/onboarding.tsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/state/shell/onboarding.tsx') diff --git a/src/state/shell/onboarding.tsx b/src/state/shell/onboarding.tsx index 9aad9953d..6b48f72ad 100644 --- a/src/state/shell/onboarding.tsx +++ b/src/state/shell/onboarding.tsx @@ -29,7 +29,9 @@ export type DispatchContext = (action: Action) => void const stateContext = React.createContext( compute(persisted.defaults.onboarding), ) +stateContext.displayName = 'OnboardingStateContext' const dispatchContext = React.createContext((_: Action) => {}) +dispatchContext.displayName = 'OnboardingDispatchContext' function reducer(state: StateContext, action: Action): StateContext { switch (action.type) { -- cgit 1.4.1