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

[DataGrid] Fix prop-type warning with v5 #2224

Merged
merged 3 commits into from
Jul 28, 2021

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Jul 27, 2021

Fix the warning visible in this reproduction: #2222 (comment).

Capture d’écran 2021-07-27 à 16 28 47

https://codesandbox.io/s/blissful-herschel-xpm45?file=/src/Demo.tsx

It also improves cross-document support. Sebastian has figured out a smart way to remove the need for this getDoc prop in v5.

@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work component: data grid This is the name of the generic UI component, not the React module! labels Jul 27, 2021
@oliviertassinari
Copy link
Member Author

oliviertassinari commented Jul 28, 2021

@oliviertassinari oliviertassinari merged commit 21fd8f4 into mui:master Jul 28, 2021
@oliviertassinari oliviertassinari deleted the getDoc-v5 branch July 28, 2021 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work 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.

3 participants