'DateRangePicker React Material is broke

I´m facing a problem with DateRangePicker component from Mui. The thing is I have these dependencies: "@date-io/date-fns": "^2.13.1", "@emotion/react": "^11.7.1", "@emotion/styled": "^11.6.0", "@mui/lab": "^5.0.0-alpha.68", "@mui/material": "^5.4.1", "@mui/styled-engine-sc": "^5.4.1"

At the begining it worked but I removed the package-lock and the dependencies were updated to the last version. So, right now my RangeDatePicker desn't render the inputs and the whole component.

I can set "@mui/lab": "5.0.0-alpha.68" and it works but the idea is to use the last version and be able to upgrade to react 18.0.0

Any idea? Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source