Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't resolve MuiThemeProvider #27

Closed
marcpiechura opened this issue Nov 4, 2019 · 2 comments
Closed

Can't resolve MuiThemeProvider #27

marcpiechura opened this issue Nov 4, 2019 · 2 comments

Comments

@marcpiechura
Copy link

marcpiechura commented Nov 4, 2019

Hi,
after I've updated to the latest version of MaterialIUI I receive the following error during compilation

Module not found: Error: Can't resolve '@material-ui/core/styles/MuiThemeProvider'

Turns out that they've disabled 3 level deep imports and encourage to move to ThemeProvider instead of MuiThemeProvider, see mui/material-ui#17900 for details.
I've fixed it with my own import statement, but I guess it doesn't make sense to contribute the change directly since everything is generated automatically ?

@cmeeren
Copy link
Collaborator

cmeeren commented Nov 4, 2019

Thanks, I'll fix it in the next update!

@cmeeren
Copy link
Collaborator

cmeeren commented Nov 5, 2019

Will be released in 0.8.0 shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants