"use client"; import { RefreshCw, TriangleAlert } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Card } from "@/components/ui/card"; import { useI18n } from "@/lib/i18n"; export function ErrorState({ title, description, onRetry }: { title?: string; description?: string; onRetry: () => void }) { const { t } = useI18n(); return (

{title ?? t("error.title")}

{description ?? t("error.description")}

); }