fix(pages): add missing CommonHead component
This commit is contained in:
parent
2e0aecd153
commit
91d5a2d38a
@ -1,10 +1,12 @@
|
|||||||
import Document, { Html, Main, Head, NextScript } from 'next/document'
|
import Document, { Html, Main, NextScript } from 'next/document'
|
||||||
|
|
||||||
|
import CommonHead from '@/components/Head/CommonHead'
|
||||||
|
|
||||||
class MyDocument extends Document {
|
class MyDocument extends Document {
|
||||||
render(): JSX.Element {
|
render(): JSX.Element {
|
||||||
return (
|
return (
|
||||||
<Html lang='en'>
|
<Html lang='en'>
|
||||||
<Head />
|
<CommonHead />
|
||||||
<body>
|
<body>
|
||||||
<Main />
|
<Main />
|
||||||
<NextScript />
|
<NextScript />
|
||||||
|
Loading…
Reference in New Issue
Block a user