Skip to content

Commit 588f112

Browse files
authored
Merge pull request #17 from captain-woof/sohail/fonts
Head put back in _document.tsx
2 parents 4e711f5 + f10189c commit 588f112

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)