mirror of https://github.com/sgoudham/carbon.git
use next/document Html
parent
c8ede18608
commit
3061b5d08b
@ -1,16 +1,16 @@
|
||||
import React from 'react'
|
||||
import Document, { Head, Main, NextScript } from 'next/document'
|
||||
import Document, { Html, Head, Main, NextScript } from 'next/document'
|
||||
|
||||
export default class extends Document {
|
||||
render() {
|
||||
return (
|
||||
<html lang="en">
|
||||
<Html lang="en">
|
||||
<Head />
|
||||
<body>
|
||||
<Main />
|
||||
<NextScript />
|
||||
</body>
|
||||
</html>
|
||||
</Html>
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue