[pickers] 5.0.0-beta.7 forces date-fns import even when not using date-fns #5966
Closed
2 tasks done
Labels
component: pickers
This is the name of the generic UI component, not the React module!
duplicate
This issue or pull request already exists
Duplicates
Latest version
Current behavior 😯
When using TypeScript, @mui/x-date-pickers-pro, yarn zero installs, and luxon adapter:
On 5.0.0-beta.6 I only needed the following packages for everything to work properly:
On 5.0.0-beta.7 with the same packages, I get yarn errors on every test:
On 5.0.0-beta.7 I now need to add date-fns to make everything work and need the following packages:
Expected behavior 🤔
When using TypeScript, @mui/x-date-pickers-pro, yarn zero installs, and luxon adapter:
On 5.0.0-beta.7 with the following packages installed, I would get no yarn errors:
Steps to reproduce 🕹
Steps:
Context 🔦
No response
Your environment 🌎
npx @mui/envinfo
Order ID 💳 (optional)
We pay for the PRO account, but I don't know how to find my order ID.
The text was updated successfully, but these errors were encountered: