import * as React from 'react' ; import Document , { Html , Head , Main , NextScript } from 'next/document' ; export default class CustomDocument extends Document < unknown > { render ( ) { return ( < Html > < Head > < /Head> < body > < Main /> < NextScript / > < /body> < /Html>); } }