Files
MineGeo/app/error.tsx
pavel444-byte 927923dc95
Some checks failed
Deploy MineGeo to Dokploy / deploy (push) Failing after 11m31s
Improve accessibility and polish page styling
2026-10-24 14:11:17 +05:00

20 lines
546 B
TypeScript
Raw Permalink 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";
import { useI18n } from "@/components/I18nProvider";
export default function ErrorPage({ retry }: { retry: () => void }) {
const { t } = useI18n();
return (
<main className="section page-content" id="main-content" tabIndex={-1}>
<h1>{t("Lost connection.")}</h1>
<p>
{t(
"We couldn’t load this part of the world. Check your connection and try again.",
)}
</p>
<button className="button primary" onClick={retry}>
{t("Try again")}
</button>
</main>
);
}