mirror of
https://github.com/Xevion/icons.git
synced 2025-12-05 23:15:17 -06:00
Attempt to move up darkmode script in rendering process
This commit is contained in:
@@ -5,13 +5,12 @@ export default function Document() {
|
||||
return (
|
||||
<Html>
|
||||
<Head>
|
||||
<script src="/js/darkmode.js" async />
|
||||
</Head>
|
||||
<body>
|
||||
<script src="/js/darkmode.js" />
|
||||
<Main/>
|
||||
<NextScript/>
|
||||
<Script strategy="beforeInteractive" id="automatic-darkmode" src="/js/darkmode.js"/>
|
||||
</body>
|
||||
</Html>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user