fix(pages): add missing CommonHead component

This commit is contained in:
Walid 2022-03-24 15:02:45 +01:00
parent 2e0aecd153
commit 91d5a2d38a
No known key found for this signature in database
GPG Key ID: 4BDA1ABD227F9279

View File

@ -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 />