"use client";

import { Button } from "@/components/ui/button";
import { t } from "@/lib/i18n/de";

export default function AppError({ reset }: { error: Error; reset: () => void }) {
  return (
    <div className="mx-auto max-w-md py-16 text-center">
      <p className="text-anthrazit">{t("fehler.allgemein")}</p>
      <Button onClick={reset} className="mt-4">
        {t("aktion.erneutVersuchen")}
      </Button>
    </div>
  );
}
