diff --git a/pages/_document.js b/pages/_document.js index b86ca23..0b206b6 100644 --- a/pages/_document.js +++ b/pages/_document.js @@ -2,7 +2,7 @@ import Document from 'next/document' import { ServerStyleSheet } from 'styled-components' export default class MyDocument extends Document { - static async getInitialProps(ctx: any) { + static async getInitialProps(ctx) { const sheet = new ServerStyleSheet(), originalRenderPage = ctx.renderPage