fix: get themes to work
This commit is contained in:
parent
87fc401898
commit
c4e23c67ab
1 changed files with 3 additions and 3 deletions
|
|
@ -16,9 +16,9 @@ export default function RootLayout({
|
||||||
return (
|
return (
|
||||||
<html lang="en" className="h-full antialiased" suppressHydrationWarning>
|
<html lang="en" className="h-full antialiased" suppressHydrationWarning>
|
||||||
<body className="min-h-full flex flex-col">
|
<body className="min-h-full flex flex-col">
|
||||||
<NextIntlClientProvider>
|
<ThemeProvider attribute="class" enableSystem defaultTheme="system">
|
||||||
<ThemeProvider>{children}</ThemeProvider>
|
<NextIntlClientProvider>{children}</NextIntlClientProvider>
|
||||||
</NextIntlClientProvider>
|
</ThemeProvider>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue