react-admin icon indicating copy to clipboard operation
react-admin copied to clipboard

MUI New version theme conflict - Types of property 'MuiAlert' are incompatible.

Open martin-fv opened this issue 2 years ago • 1 comments

After upgrading to @mui/material version 5.9.3. I'm getting a type-error on my custom theme. Apparently the sx property of MuiAlert is incompatible.

Would it be possible to upgrade react-admin to the latest MUI version?

Screenshot from 2022-08-09 10-18-42

martin-fv avatar Aug 09 '22 02:08 martin-fv

I think that means that MUI has published a breaking change in a bugfix version, which is a breach of the semver convention... You should report the problem to them.

fzaninotto avatar Aug 09 '22 04:08 fzaninotto

Ok, not a high priority now. Fixed by downgrading to "@mui/material": "5.8.4",

martin-fv avatar Aug 26 '22 06:08 martin-fv