Skip to content

Commit 7b7906d

Browse files
committed
Fix hydration mismatch: add suppressHydrationWarning to html tag
1 parent ea264bb commit 7b7906d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎app/[locale]/layout.tsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ export default async function LocaleLayout({
5959
className="h-full overflow-x-hidden"
6060
lang={locale}
6161
dir={locale === "en" ? "ltr" : "rtl"}
62+
suppressHydrationWarning
6263
>
6364
<body
6465
className={`${

0 commit comments

Comments
 (0)