Skip to content

Commit

Permalink
fix(example)_document error
Browse files Browse the repository at this point in the history
  • Loading branch information
TIMMLOPK committed Jun 29, 2022
1 parent bb3e722 commit 911f495
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/ssr-next/pages/_document.js
Expand Up @@ -4,8 +4,8 @@ import { extractStyles } from 'evergreen-ui'
import Document, { Head, Main, NextScript } from 'next/document'

export default class MyDocument extends Document {
static getInitialProps({ renderPage }) {
const page = renderPage()
static async getInitialProps({ renderPage }) {
const page = await renderPage()
// `css` is a string with css from both glamor and ui-box.
// No need to get the glamor css manually if you are using it elsewhere in your app.
//
Expand Down

0 comments on commit 911f495

Please sign in to comment.