Add lang attribute to html #325

Merged
j285he merged 1 commits from j285he-add-lang into main 2021-09-22 17:12:38 -04:00
1 changed files with 18 additions and 0 deletions

18
pages/_document.tsx Normal file
View File

@ -0,0 +1,18 @@
import Document, { Html, Head, Main, NextScript } from "next/document";
import React from "react";
class MyDocument extends Document {
render() {
return (
<Html lang="en">
<Head />
<body>
<Main />
<NextScript />
</body>
</Html>
);
}
}
export default MyDocument;