Repository Public MIT
1"use client";23export default function ErrorPage({ error, reset }: { error: Error & { digest?: string }; reset: () => void }) {4 return (5 <div className="container-page flex flex-col items-start py-28">6 <p className="eyebrow mb-3">Error</p>7 <h1 className="text-3xl font-semibold tracking-tight">Something went wrong on our side.</h1>8 <p className="mt-3 max-w-xl text-muted">The request could not be completed. No data was changed. {error.digest ? <>Reference: <code className="font-mono text-text">{error.digest}</code>.</> : null}</p>9 <button type="button" onClick={reset} className="btn btn-primary mt-6">Try again</button>10 </div>11 );12}13