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

Api refactor #148

Merged
merged 7 commits into from
Aug 5, 2020
Merged

Api refactor #148

merged 7 commits into from
Aug 5, 2020

Conversation

dtassone
Copy link
Member

@dtassone dtassone commented Aug 4, 2020

Refactoring to remove if (apiRef && apiRef.current) {

@oliviertassinari oliviertassinari added the component: data grid This is the name of the generic UI component, not the React module! label Aug 4, 2020
@@ -86,7 +86,7 @@ module.exports = {
'@material-ui/x-grid': path.resolve(__dirname, '../../../packages/grid/x-grid/src'),
'@material-ui/x-license': path.resolve(__dirname, '../../../packages/license/src'),
},
modules: [path.join(__dirname, '../../../'), 'node_modules'],
// modules: [path.join(__dirname, '../../../'), 'node_modules'],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To test the build locally? Don't forget to uncomment before merging.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just tested and everything works fine without this.
I suspect it is the cause of your issue with the compilation of SB

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah works great without.

Suggested change
// modules: [path.join(__dirname, '../../../'), 'node_modules'],

@dtassone dtassone merged commit 9c6c1d7 into mui:master Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants