From d8eb1df61d4bf82180c2e8e5ecaf2ed2ad6cc5ed Mon Sep 17 00:00:00 2001 From: Benny Joo Date: Mon, 7 Oct 2024 06:40:09 -0400 Subject: [PATCH] fix: add suppressHydrationWarning to app router layout (#16960) --- apps/web/app/layout.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsx index 4781e6102d..3deb43e738 100644 --- a/apps/web/app/layout.tsx +++ b/apps/web/app/layout.tsx @@ -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"> {!!process.env.NEXT_PUBLIC_HEAD_SCRIPTS && (