-
Notifications
You must be signed in to change notification settings - Fork 58
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
Uncaught TypeError: Cannot read property 'baseTheme' of undefined #54
Comments
@paliwalgaurav I was experiencing this same error. I wrapped the data tables component in the Material design
|
@kdipaolo I have already done this. Actually, the main container of the website is inside |
It looks like they've changed the way theme works on v1. I'll start investigation soon. |
Got version: ^0.18.2 I didn't use custom theme |
OK, I understand the v1 migration means
|
I am also getting the same error after wrapping the whole component in one MuiThemeProvider muiTheme={getMuiTheme()} |
has anyone found a solution for this? |
@hyojin I have some issues when I am using it with v1 package.
Uncaught TypeError: Cannot read property 'baseTheme' of undefined at getStyles (DataTables.js:96) at DataTables.render (DataTables.js:298) at react-dom.js:5257 at measureLifeCyclePerf (react-dom.js:4537) at ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext (react-dom.js:5256) at ReactCompositeComponentWrapper._renderValidatedComponent (react-dom.js:5283) at ReactCompositeComponentWrapper.performInitialMount (react-dom.js:4823) at ReactCompositeComponentWrapper.mountComponent (react-dom.js:4719) at Object.mountComponent (react-dom.js:11551) at ReactCompositeComponentWrapper.performInitialMount (react-dom.js:4832)
even when I am using custom theme created.
I am using v1 beta 4
The text was updated successfully, but these errors were encountered: