import { usePrimaryPage } from '@/PageManager' import { useNostr } from '@/providers/NostrProvider' import { useNotification } from '@/providers/NotificationProvider' import { Bell } from 'lucide-react' import BottomNavigationBarItem from './BottomNavigationBarItem' export default function NotificationsButton() { const { checkLogin } = useNostr() const { navigate, current } = usePrimaryPage() const { hasNewNotification } = useNotification() return ( checkLogin(() => navigate('notifications'))} >
{hasNewNotification && (
)}
) }