fix: get themes to work

This commit is contained in:
nxtkofi 2026-03-28 12:46:35 +01:00
parent 87fc401898
commit c4e23c67ab

View file

@ -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>
); );