import { isDismissable } from "@/domain/notifications/utils/visible-notification-sections"; import type { NotificationCenter } from "./use-notification-center"; type NotificationFeedActionsProps = { center: NotificationCenter; }; export function NotificationFeedActions({ center }: NotificationFeedActionsProps) { const hasUnread = center.unreadIds.size > 0; // Rows that need acknowledging are never cleared, so they alone do not enable "Clear all". const hasItems = center.sections.some((section) => section.items.some(isDismissable)); return ( <> ); }