stacker.news/pages/_document.js

19 lines
332 B
JavaScript
Raw Normal View History

2021-11-09 16:43:56 -06:00
import Document, { Html, Head, Main, NextScript } from 'next/document'
2021-11-04 14:22:03 -04:00
2021-11-09 16:43:56 -06:00
class MyDocument extends Document {
render () {
return (
<Html>
<Head />
<body>
<script src='darkmode.js' />
<Main />
<NextScript />
</body>
</Html>
)
2021-11-04 14:22:03 -04:00
}
}
2021-11-09 16:43:56 -06:00
export default MyDocument