'use client' import { Trash2 } from 'lucide-react' import { useTranslations } from 'next-intl' import { AsyncButton } from './async-button' import { Button } from './ui/button' import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogTitle, DialogTrigger, } from './ui/dialog' export function DeletePopup({ onDelete }: { onDelete: () => Promise }) { const t = useTranslations('ExpenseForm.DeletePopup') return ( {t('title')} {t('description')} {t('yes')} ) }