12 lines
470 B
TypeScript
12 lines
470 B
TypeScript
'use client';
|
||||
|
|
|
|||
|
|
export default function ErrorPage({ reset }: { error: Error & { digest?: string }; reset: () => void }) {
|
|||
|
|
return (
|
|||
|
|
<main style={{ maxWidth: '48rem', margin: '4rem auto', padding: '1.5rem' }}>
|
|||
|
|
<h1>We couldn’t load this page</h1>
|
|||
|
|
<p>School information is temporarily unavailable. Please try again.</p>
|
|||
|
|
<button type="button" onClick={reset}>Try again</button>
|
|||
|
|
<p><a href="/">Return to school search</a></p>
|
|||
|
|
</main>
|
|||
|
|
);
|
|||
|
|
}
|