1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Fixed issue (#2804)

https://github.com/zeit/next.js/issues/2800
This commit is contained in:
Penn Su 2017-08-18 09:46:30 -07:00 committed by Tim Neutkens
parent 72edd591e6
commit ccc9ff2201

View file

@ -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