Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

fix(web): resolve the root error boundary's translation keys

Andrej Acevski4b35f58458d3
diff --git a/apps/web/src/main.tsx b/apps/web/src/main.tsx
index ca55134b9..758d73c4f 100644
--- a/apps/web/src/main.tsx
+++ b/apps/web/src/main.tsx
@@ -73,17 +73,17 @@ function RootCrashFallback({
<div className="flex min-h-screen items-center justify-center bg-background p-6">
<div className="max-w-md text-center">
<h1 className="text-2xl font-semibold text-foreground">
- {t("common.error.title")}
+ {t("common:error.title")}
</h1>
<p className="mt-2 text-sm text-muted-foreground">
- {t("common.error.description")}
+ {t("common:error.description")}
</p>
<button
type="button"
onClick={resetError}
className="mt-4 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-primary/90"
>
- {t("common.error.refreshPage")}
+ {t("common:error.refreshPage")}
</button>
</div>
</div>