"use client";

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

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