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 d48b9d7 commit 552cbb7Copy full SHA for 552cbb7
docs/src/app/[lang]/layout.tsx
@@ -91,7 +91,12 @@ export default async function Layout({
91
return (
92
<html lang={lang} suppressHydrationWarning>
93
<body className="flex flex-col min-h-screen">
94
- <RootProvider i18n={provider(lang)}>{children}</RootProvider>
+ <RootProvider
95
+ i18n={provider(lang)}
96
+ theme={{ defaultTheme: 'dark', enableSystem: false }}
97
+ >
98
+ {children}
99
+ </RootProvider>
100
</body>
101
</html>
102
);
0 commit comments