Skip to content

Commit

Permalink
feat: add suppressHydrationWarning to html tag for improved hydration…
Browse files Browse the repository at this point in the history
… handling
  • Loading branch information
WTW0313 committed Feb 25, 2025
1 parent 1410056 commit f42e68b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const LocaleLayout = ({
const locale = getLocaleOnServer()

return (
<html lang={locale ?? 'en'} className="h-full">
<html lang={locale ?? 'en'} className="h-full" suppressHydrationWarning>
<head>
<meta name="theme-color" content="#FFFFFF" />
<meta name="mobile-web-app-capable" content="yes" />
Expand Down

0 comments on commit f42e68b

Please sign in to comment.