I see this error with the app, reported by NextJS, please fix it. The er

This commit is contained in:
Indigo Tang 2025-06-09 02:52:38 +00:00
parent 3db4ec2066
commit 9432322fb2
1 changed files with 4 additions and 1 deletions

View File

@ -32,7 +32,10 @@ export default function RootLayout({
<link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" />
<link href="https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap" rel="stylesheet" />
</head>
<body className={cn('min-h-screen bg-background font-body antialiased flex flex-col', ptSans.variable)}>
<body
className={cn('min-h-screen bg-background font-body antialiased flex flex-col', ptSans.variable)}
suppressHydrationWarning={true}
>
<Header />
<main className="flex-grow container mx-auto px-4 py-8">
{children}