fix: resolve hydration mismatch and NaN rendering errors
Some checks failed
Dev Deployment (Zero Downtime) / deploy-dev (push) Failing after 9m53s

Added suppressHydrationWarning to html tag and implemented safe date/number handling in project and reading components.
This commit is contained in:
2026-02-15 22:48:47 +01:00
parent cc8fff14d2
commit 5576e41ce0
4 changed files with 15 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ export default async function RootLayout({
const cookieStore = await cookies();
const locale = cookieStore.get("NEXT_LOCALE")?.value || "en";
return (
<html lang={locale}>
<html lang={locale} suppressHydrationWarning>
<head>
<meta charSet="utf-8" />
</head>