import React from "react"; import Document, { Head, Main, NextScript } from "next/document"; export default class extends Document { render() { return ( <html lang="ja" dir="ltr"> <Head /> <body> <Main /> <NextScript /> </body> </html> ); } }