-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on render #24
Comments
Hi @ag288 |
Unfortunately the console does not show any errors when the page is rendered, so I'm clueless as to what is wrong. However, it may be of importance to note that I'm using Chakra UI and not Material UI. Could that have something to do with it? Also, this Calendar component is actually rendered within another component as follows :
I dont know if any of this is relevant, but thats all i have. Thanks for the time :) |
Yeah, this component is based on Material UI and date-fns. You might wanna look into this toast-ui.react-calendar |
Whenever I try to render my react app, an alert pops up that says "TypeError: Cannot read properties of undefined (reading 'pxToRem')" and the calendar fails to render. I am following the code given in the demos, so I'm not really sure where I'm going wrong. This is my code :
The text was updated successfully, but these errors were encountered: