We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5173e22 commit 2ca684eCopy full SHA for 2ca684e
src/app/layout.tsx
@@ -23,7 +23,12 @@ export default function RootLayout({
23
children: ReactNode
24
}): ReactElement {
25
return (
26
- <html lang="en" className="scroll-smooth">
+ <html
27
+ lang="en"
28
+ className="scroll-smooth"
29
+ // ThemeProvider adds a `light`/`dark` class
30
+ suppressHydrationWarning
31
+ >
32
<head>
33
<style>{`html { scroll-padding-top: 5rem }`}</style>
34
</head>
0 commit comments