Open eromoe opened 7 years ago
@eromoe I'm not sure where you defined the code related to theme (like, getMuiTheme()
function). How about to pass theme as a prop?
@hyojin Thanks that fixed my issue - I was getting the same exact error. Added this to my app.tsx: import lightBaseTheme from 'material-ui/styles/baseThemes/lightBaseTheme'; import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'; import getMuiTheme from 'material-ui/styles/getMuiTheme';
And this is just inside my router element:
First, I don't know why I have to add
to
Or it would complain
Even if I add theme, can not work well : once click a button, the button would be masked by a gray layer.