'use client' import { useTranslations } from 'next-intl' import { Button } from '@/components/ui/button' import { Card, CardContent } from '@/components/ui/card' import { Check, Upload, Plus } from 'lucide-react' import Link from 'next/link' interface InboxZeroStateProps { hasTransactions: boolean onCreateTransaction: () => void } export default function InboxZeroState({ hasTransactions, onCreateTransaction }: InboxZeroStateProps) { const t = useTranslations('tx_inbox_zero') if (!hasTransactions) { // No transactions at all return (

{t('empty_title')}

{t('empty_description')}

) } // All transactions categorized - inbox zero! return (

{t('done_title')}

{t('done_description')}

) }