Closed samuelloranger closed 11 months ago
date-time-format-timezone-complete-min.js
You're using an Intl polyfill which overrides native Intl method, causing the error.
BTW, you likely don't need it.
Wow thanks for the quick response and thanks a lot for the help. Did not realised these polyfills were still used. <3
Before you start - checklist
Description
When trying to update packages in my app, I updated react-calendar from 3.6.0 to 4.6.0.
Runned into this issue when running the app, when react-calendar is loaded, I get this error: (Printing multiple times in theh console)
I get the same error for Day.js, Weekdays.js, and Navigation.js
Steps to reproduce
Just adding the calendar anywhere in my app crashes the page.
Expected behavior
No crash
Actual behavior
App crashing
Additional information
Console: https://imgur.com/a/hF5WNMC
Environment