This commit is contained in:
Abhinav 2021-12-02 14:54:07 +05:30
parent e7bed748c4
commit 7969d20a76

View file

@ -2,6 +2,7 @@ import React from 'react';
import Document, { Html, Head, Main, NextScript } from 'next/document';
import { ServerStyleSheet } from 'styled-components';
//
export default class MyDocument extends Document {
static async getInitialProps(ctx) {
const sheet = new ServerStyleSheet();