diff --git a/examples/with-material-ui-next/components/withRoot.js b/examples/with-material-ui-next/components/withRoot.js index ab8e2bee..0a1282f1 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