Files
MineGeo/app/error.tsx

16 lines
399 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"use client";
export default function ErrorPage({ retry }: { retry: () => void }) {
return (
<main className="section page-content">
<h1>Lost connection.</h1>
<p>
We couldn’t load this part of the world. Check your connection and try
again.
</p>
<button className="button primary" onClick={retry}>
Try again
</button>
</main>
);
}