Skip to content

Commit f10189c

Browse files
committed
Head put back in _document.tsx
1 parent 0cc1cbb commit f10189c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

client/pages/_document.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
12
import { ColorModeScript } from '@chakra-ui/react';
2-
import NextDocument, { Html, Main, NextScript } from 'next/document';
3+
import NextDocument, { Html, Head, Main, NextScript } from 'next/document';
34
import theme from '../theme';
45

56
export default class Document extends NextDocument {
67
render() {
78
return (
89
<Html lang='en'>
10+
<Head></Head>
911
<body>
1012
<ColorModeScript initialColorMode={theme.config.initialColorMode} />
1113
<Main />

0 commit comments

Comments
 (0)