We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5b1aa1 commit 6fded37Copy full SHA for 6fded37
apps/site/app/[locale]/layout.tsx
@@ -14,11 +14,11 @@ import '#site/styles/index.css';
14
15
const fontClasses = classNames(IBM_PLEX_MONO.variable, OPEN_SANS.variable);
16
17
-type RotLayoutProps = PropsWithChildren<{
+type RootLayoutProps = PropsWithChildren<{
18
params: Promise<{ locale: string }>;
19
}>;
20
21
-const RootLayout: FC<RotLayoutProps> = async ({ children, params }) => {
+const RootLayout: FC<RootLayoutProps> = async ({ children, params }) => {
22
const { locale } = await params;
23
24
const { langDir, hrefLang } = availableLocalesMap[locale] || defaultLocale;
0 commit comments