NoRowsOverlay slot throws when passed undefined but types allow it #10933
Labels
bug 🐛
Something doesn't work
component: data grid
This is the name of the generic UI component, not the React module!
Steps to reproduce
Link to live example: (required)
Steps:
Current behavior
MUI throws error and crashes
Expected behavior
MUI just renders the default norows component
Context
We are conditionally passing this slot based on some other data in the component. Previously this worked fine but now crashes in v6.
Your environment
npx @mui/envinfo
Search keywords: datagrid norowsoverlay
Order ID: 77647
The text was updated successfully, but these errors were encountered: