"use client";

export default function GlobalError({ reset }: { error: Error; reset: () => void }) {
  return (
    <html lang="en">
      <body style={{ fontFamily: "Segoe UI, sans-serif", padding: 32 }}>
        <h1>Something went wrong</h1>
        <p>Clipwell could not load this page.</p>
        <button type="button" onClick={reset}>
          Try again
        </button>
      </body>
    </html>
  );
}
