import { cn } from '@/lib/utils' import { Event } from 'nostr-tools' import { useTranslation } from 'react-i18next' import SuperchatCommentMarkdown from './SuperchatCommentMarkdown' export default function SuperchatMessageArea({ event, comment, showEmptyFallback, className }: { event: Event comment?: string showEmptyFallback: boolean className?: string }) { const { t } = useTranslation() const trimmed = comment?.trim() if (trimmed) { return ( ) } if (!showEmptyFallback) return null return (

{t('(No message included.)')}

) }