bee-dashboard icon indicating copy to clipboard operation
bee-dashboard copied to clipboard

React console errors - upgrade to `@mui/material`

Open Cafe137 opened this issue 2 years ago • 0 comments

We have two type of errors which spam the browser console

One is a user error, where div is a descendant of p (e.g. ExpandableListItem)

And the other comes from the old mui using deprecated React API (e.g. Collapse API)

https://mui.com/material-ui/migration/migration-v4/

I propose the upgrade to 5 and an overhaul of the Expandable* components which contain this mistake in multiple places

Cafe137 avatar Oct 19 '22 17:10 Cafe137