From be134f0ded6ad74bf34bcc35a3d11acb736c7b52 Mon Sep 17 00:00:00 2001 From: Penn Su Date: Fri, 18 Aug 2017 09:46:30 -0700 Subject: [PATCH] Fixed issue (#2804) https://github.com/zeit/next.js/issues/2800 --- examples/with-material-ui-next/components/withRoot.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/with-material-ui-next/components/withRoot.js b/examples/with-material-ui-next/components/withRoot.js index ab8e2bee9217c..0a1282f113b16 100644 --- a/examples/with-material-ui-next/components/withRoot.js +++ b/examples/with-material-ui-next/components/withRoot.js @@ -1,10 +1,10 @@ import React, { Component } from 'react' import { JssProvider } from 'react-jss' -import { withStyles, createStyleSheet, MuiThemeProvider } from 'material-ui/styles' +import { withStyles, MuiThemeProvider } from 'material-ui/styles' import { getContext } from '../styles/context' // Apply some reset -const styleSheet = createStyleSheet(theme => ({ +const styleSheet = theme => ({ '@global': { html: { background: theme.palette.background.default, @@ -15,7 +15,7 @@ const styleSheet = createStyleSheet(theme => ({ margin: 0 } } -})) +}) let AppWrapper = props => props.children