diff options
Diffstat (limited to 'src/state/queries/notifications/unread.tsx')
-rw-r--r-- | src/state/queries/notifications/unread.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
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() |