Something went wrong. Try again.
A Bsky-like frontend using the atprotocol natively.
Something went wrong. Try again.
262 B · 8 lines
TypeScript
at main
123456789import { createContext } from 'react';import type { NotificationCount } from './useNotificationCount';
export const NotificationCountContext = createContext<NotificationCount>({ unreadCount: 0, refreshCount: async () => {}, markSeen: async () => {},});