frontend: fix _document.js

This commit is contained in:
c9s 2021-01-24 14:44:09 +08:00
parent 78b111338f
commit 02c622d811

View File

@ -1,9 +1,9 @@
/* eslint-disable react/jsx-filename-extension */
import React from 'react';
import Document, {
Html, Main, NextScript,
Html, Head, Main, NextScript,
} from 'next/document';
import { ServerStyleSheets } from '@material-ui/core/styles';
import { ServerStyleSheets } from '@material-ui/styles';
import theme from '../src/theme';
export default class MyDocument extends Document {