Skip to content

Commit dd39032

Browse files
Remove the Script components in nextjs
1 parent 87f6aa2 commit dd39032

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/pages/_document.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { Html, Head, Main, NextScript } from 'next/document'
2-
import Script from 'next/script';
32
export default function Document() {
43
return (
54
<Html lang="en" data-theme="dark">
@@ -8,7 +7,6 @@ export default function Document() {
87
<Main />
98
<NextScript />
109
</body>
11-
<Script src="/theme.js" />
1210
</Html>
1311
)
1412
}

0 commit comments

Comments
 (0)