import Image from '@/components/Image'
import { cn } from '@/lib/utils'
import { Heart } from 'lucide-react'
import { Event } from 'nostr-tools'
import { useMemo } from 'react'
import { useTranslation } from 'react-i18next'
export default function ReactionPreview({
event,
className
}: {
event: Event
className?: string
}) {
const { t } = useTranslation()
const reaction = useMemo(() => {
if (!event.content || event.content === '+') {
return