diff --git a/apps/web/app/global-error.tsx b/apps/web/app/global-error.tsx
index aa42a3ad0..5abc327a6 100644
--- a/apps/web/app/global-error.tsx
+++ b/apps/web/app/global-error.tsx
@@ -10,6 +10,7 @@ import { Heading } from '@kit/ui/heading';
import { Trans } from '@kit/ui/trans';
import { SiteHeader } from '~/(marketing)/_components/site-header';
+import { RootProviders } from '~/components/root-providers';
const GlobalErrorPage = ({
error,
@@ -23,61 +24,63 @@ const GlobalErrorPage = ({
return (
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-
-
-
+
);
diff --git a/apps/web/components/root-providers.tsx b/apps/web/components/root-providers.tsx
index fcc3fa4a0..bc303a2b0 100644
--- a/apps/web/components/root-providers.tsx
+++ b/apps/web/components/root-providers.tsx
@@ -42,7 +42,7 @@ export function RootProviders({
theme = appConfig.theme,
children,
}: React.PropsWithChildren<{
- lang: string;
+ lang?: string;
theme?: string;
}>) {
const i18nSettings = useMemo(() => getI18nSettings(lang), [lang]);