fieldnotesai
    Preparing search index...
    • Custom React Hook for managing the notifications state and logic.

      Returns {
          markAllRead: () => Promise<void>;
          markRead: (id: string) => Promise<void>;
          notifications: Notification[];
          removeNotifications: (ids: string[]) => void;
          unreadCount: number;
      }