You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getStylesCreator.js:38 MUI: The styles argument provided is invalid.
You are providing a function without a theme in the context.
One of the parent elements needs to use a ThemeProvider.
getStylesCreator.js:42 Uncaught TypeError: theme.spacing is not a function
The text was updated successfully, but these errors were encountered:
The example works for me with the specific material-ui versions in the repo. I've updated the package.json to use exactly versions, instead of accepting any updates.
If the material-ui upgrade breaks the build, it might be a build tool issue or something on the components that did change. But the example should show the general idea of how the interop works, and I don't have an interest to check if with every minor material-ui update.
getStylesCreator.js:38 MUI: The
styles
argument provided is invalid.You are providing a function without a theme in the context.
One of the parent elements needs to use a ThemeProvider.
getStylesCreator.js:42 Uncaught TypeError: theme.spacing is not a function
The text was updated successfully, but these errors were encountered: