We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac95867 commit c39d1deCopy full SHA for c39d1de
1 file changed
platform/src/app/[locale]/layout.tsx
@@ -110,9 +110,14 @@ export default async function LocaleLayout({
110
const messages = await getMessages()
111
112
return (
113
- <html lang={locale} className={`${inter.variable} ${notoSansSC.variable}`}>
+ <html lang={locale} className={`${inter.variable} ${notoSansSC.variable}`} suppressHydrationWarning>
114
<body className="font-sans antialiased">
115
- <ThemeProvider attribute="class" defaultTheme="dark" enableSystem>
+ <ThemeProvider
116
+ attribute="class"
117
+ defaultTheme="dark"
118
+ enableSystem={false}
119
+ disableTransitionOnChange={false}
120
+ >
121
<NextIntlClientProvider messages={messages}>
122
{children}
123
<BackToTop />
0 commit comments