Spaces:
Sleeping
Sleeping
Commit ·
c25aec3
1
Parent(s): f3edaf2
I see this error with the app, reported by NextJS, please fix it. The er
Browse files- src/app/layout.tsx +2 -1
src/app/layout.tsx
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
import type {Metadata} from 'next';
|
| 2 |
import './globals.css';
|
| 3 |
import { Toaster } from "@/components/ui/toaster";
|
|
@@ -20,7 +21,7 @@ export default function RootLayout({
|
|
| 20 |
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" />
|
| 21 |
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;500&display=swap" rel="stylesheet" />
|
| 22 |
</head>
|
| 23 |
-
<body className="font-body antialiased">
|
| 24 |
{children}
|
| 25 |
<Toaster />
|
| 26 |
</body>
|
|
|
|
| 1 |
+
|
| 2 |
import type {Metadata} from 'next';
|
| 3 |
import './globals.css';
|
| 4 |
import { Toaster } from "@/components/ui/toaster";
|
|
|
|
| 21 |
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet" />
|
| 22 |
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;500&display=swap" rel="stylesheet" />
|
| 23 |
</head>
|
| 24 |
+
<body className="font-body antialiased" suppressHydrationWarning={true}>
|
| 25 |
{children}
|
| 26 |
<Toaster />
|
| 27 |
</body>
|