about summary refs log tree commit diff
path: root/src/state/queries
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-08-14 01:12:31 +0300
committerGitHub <noreply@github.com>2025-08-14 01:12:31 +0300
commitb2c56cbd6dfa9af576f947dd41a0d33376b184d1 (patch)
treeacdf57b6e7e2860c89b20b1dc239fe20521cb1c4 /src/state/queries
parent275fece3e3de0bd09377a33813bcfe35e352874b (diff)
downloadvoidsky-b2c56cbd6dfa9af576f947dd41a0d33376b184d1.tar.zst
Add displayName to contexts (#8814)
Diffstat (limited to 'src/state/queries')
-rw-r--r--src/state/queries/messages/list-conversations.tsx1
-rw-r--r--src/state/queries/notifications/unread.tsx2
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()