fix: add suppressHydrationWarning to app router layout (#16960)
This commit is contained in:
@@ -67,6 +67,7 @@ export default async function RootLayout({ children }: { children: React.ReactNo
|
||||
lang={locale}
|
||||
dir={direction}
|
||||
style={embedColorScheme ? { colorScheme: embedColorScheme as string } : undefined}
|
||||
suppressHydrationWarning
|
||||
data-nextjs-router="app">
|
||||
<head nonce={nonce}>
|
||||
{!!process.env.NEXT_PUBLIC_HEAD_SCRIPTS && (
|
||||
|
||||
Reference in New Issue
Block a user