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