import { toNote } from '@/lib/link' import { cn } from '@/lib/utils' import { useSecondaryPage } from '@/PageManager' import { MessageCircle } from 'lucide-react' import { Event } from 'nostr-tools' import ContentPreview from '../../ContentPreview' import { FormattedTimestamp } from '../../FormattedTimestamp' import UserAvatar from '../../UserAvatar' export function CommentNotification({ notification, isNew = false }: { notification: Event isNew?: boolean }) { const { push } = useSecondaryPage() return (
push(toNote(notification))} >
) }