aldabil21/react-scheduler

I'm getting a TypeError: Cannot read properties of undefined (reading 'getTime') error

Closed this issue · 0 comments

Getting this error when trying to create an event and making a POST request. I know event has a function property of getTime but I'm not sure where it's being called

React Router caught the following error during render TypeError: Cannot read properties of undefined (reading 'getTime')
at @aldabil_react-scheduler.js?v=78361b34:30482:52
at Array.sort ()
at v (@aldabil_react-scheduler.js?v=78361b34:30482:26)
at at (@aldabil_react-scheduler.js?v=78361b34:31233:20)
at it (@aldabil_react-scheduler.js?v=78361b34:31243:128)
at renderWithHooks (chunk-ZW7WJ6XU.js?v=78361b34:12171:26)
at updateFunctionComponent (chunk-ZW7WJ6XU.js?v=78361b34:14577:28)
at beginWork (chunk-ZW7WJ6XU.js?v=78361b34:15912:22)
at beginWork$1 (chunk-ZW7WJ6XU.js?v=78361b34:19749:22)
at performUnitOfWork (chunk-ZW7WJ6XU.js?v=78361b34:19194:20)

Been stuck on it a few days and wondering if anyone else has this issue. My first time making an issue request so if I'm not following any best practices for asking questions / proposing an issue let me know or if this is an issue better suited for stack overflow than here.