diff options
Diffstat (limited to 'src/state/session/index.tsx')
-rw-r--r-- | src/state/session/index.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/state/session/index.tsx b/src/state/session/index.tsx index 8223a7b3a..e7f37269c 100644 --- a/src/state/session/index.tsx +++ b/src/state/session/index.tsx @@ -30,8 +30,10 @@ const StateContext = React.createContext<SessionStateContext>({ currentAccount: undefined, hasSession: false, }) +StateContext.displayName = 'SessionStateContext' const AgentContext = React.createContext<BskyAgent | null>(null) +AgentContext.displayName = 'SessionAgentContext' const ApiContext = React.createContext<SessionApiContext>({ createAccount: async () => {}, @@ -42,6 +44,7 @@ const ApiContext = React.createContext<SessionApiContext>({ removeAccount: () => {}, partialRefreshSession: async () => {}, }) +ApiContext.displayName = 'SessionApiContext' export function Provider({children}: React.PropsWithChildren<{}>) { const cancelPendingTask = useOneTaskAtATime() |