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 ab19e75 commit ff94e6cCopy full SHA for ff94e6c
docs/data/material/components/init-color-scheme-script/init-color-scheme-script.md
@@ -49,7 +49,7 @@ export default function RootLayout(props: { children: React.ReactNode }) {
49
return (
50
<html lang="en" suppressHydrationWarning>
51
<body>
52
- <InitColorSchemeScript />
+ <InitColorSchemeScript attribute="data" />
53
{props.children}
54
</body>
55
</html>
@@ -70,7 +70,7 @@ export default function MyDocument(props) {
70
<Html lang="en">
71
<Head>{/* tags */}</Head>
72
73
74
<Main />
75
<NextScript />
76
0 commit comments