2020-12-04 16:00:53 -05:00
|
|
|
import Document, { Html, Head, Main, NextScript } from 'next/document'
|
2020-03-18 18:46:47 -04:00
|
|
|
import HashiHead from '@hashicorp/react-head'
|
|
|
|
|
|
|
|
export default class MyDocument extends Document {
|
|
|
|
render() {
|
|
|
|
return (
|
2020-12-04 16:00:53 -05:00
|
|
|
<Html>
|
2020-03-18 18:46:47 -04:00
|
|
|
<HashiHead is={Head} />
|
|
|
|
<body>
|
|
|
|
<Main />
|
|
|
|
<NextScript />
|
|
|
|
<script
|
|
|
|
noModule
|
|
|
|
dangerouslySetInnerHTML={{
|
2020-05-29 17:12:05 -04:00
|
|
|
__html: `window.MSInputMethodContext && document.documentMode && document.write('<script src="/ie-custom-properties.js"><\\x2fscript>');`,
|
2020-03-18 18:46:47 -04:00
|
|
|
}}
|
|
|
|
/>
|
|
|
|
</body>
|
2020-12-04 16:00:53 -05:00
|
|
|
</Html>
|
2020-03-18 18:46:47 -04:00
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|