import { useState } from 'react'; import { Bell } from 'lucide-react'; import clsx from 'clsx'; import { useUnreadNotificationsCount } from '@/hooks/useData'; import { NotificationDrawer } from './NotificationDrawer'; export function NotificationBell() { const [isDrawerOpen, setIsDrawerOpen] = useState(false); const { data } = useUnreadNotificationsCount(); const unreadCount = data?.count ?? 0; const hasUnread = unreadCount > 0; return ( <> setIsDrawerOpen(false)} /> ); }