"use client";
export default function SetupError({ error, reset }: { error: Error; reset: () => void }) {
  return (
    <div className="flex min-h-screen items-center justify-center p-6">
      <div className="text-center">
        <h2 className="text-lg font-semibold">Something went wrong</h2>
        <p className="mt-1 text-sm text-gray-500">{error.message}</p>
        <button onClick={reset} className="mt-4 rounded bg-blue-600 px-4 py-2 text-white">
          Try again
        </button>
      </div>
    </div>
  );
}
