"use client";

import ErrorState from "@/features/shared/components/ErrorState";

/** Covers login, registration and the OAuth callback routes. */
export default function AuthError({
  error,
  unstable_retry,
}: {
  error: Error & { digest?: string };
  unstable_retry: () => void;
}) {
  return <ErrorState error={error} onRetry={unstable_retry} />;
}
