use next/document Html

main
Mike Fix 5 years ago
parent c8ede18608
commit 3061b5d08b
No known key found for this signature in database
GPG Key ID: 1D85E862314CA79F

@ -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…
Cancel
Save