diff options
Diffstat (limited to 'src/state/queries')
-rw-r--r-- | src/state/queries/messages/list-conversations.tsx | 1 | ||||
-rw-r--r-- | src/state/queries/notifications/unread.tsx | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/state/queries/messages/list-conversations.tsx b/src/state/queries/messages/list-conversations.tsx index 15da91071..3f8252519 100644 --- a/src/state/queries/messages/list-conversations.tsx +++ b/src/state/queries/messages/list-conversations.tsx @@ -62,6 +62,7 @@ const ListConvosContext = createContext<{ accepted: ChatBskyConvoDefs.ConvoView[] request: ChatBskyConvoDefs.ConvoView[] } | null>(null) +ListConvosContext.displayName = 'ListConvosContext' export function useListConvos() { const ctx = useContext(ListConvosContext) diff --git a/src/state/queries/notifications/unread.tsx b/src/state/queries/notifications/unread.tsx index da8d68126..8bbd00be0 100644 --- a/src/state/queries/notifications/unread.tsx +++ b/src/state/queries/notifications/unread.tsx @@ -35,12 +35,14 @@ interface ApiContext { } const stateContext = React.createContext<StateContext>('') +stateContext.displayName = 'NotificationsUnreadStateContext' const apiContext = React.createContext<ApiContext>({ async markAllRead() {}, async checkUnread() {}, getCachedUnreadPage: () => undefined, }) +apiContext.displayName = 'NotificationsUnreadApiContext' export function Provider({children}: React.PropsWithChildren<{}>) { const {hasSession} = useSession() |