-
Notifications
You must be signed in to change notification settings - Fork 691
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
Cannot read property 'color' of undefined #474
Comments
does replacing the line with
solve the problem? |
Same version i have used but still same issue ,"cannot read properties of undefined reading color" in react-date-range , how to resolve this . |
Have you been able to solve this problem? |
I'm facing the same issue |
Is anyone able to resolve the issue? |
I was stuck in the issue for so long but I find out that You can Specify the color in range const CustomDatePicker = () => { |
Subject of the issue
Its crashing in one of the functions of react-date-range. It seems on this line inside
[BUG] Bug Reproduce Steps
Just installed
npm install react-date-range -save
It gives me below mentioned error when simply project is run and clicked on date range anywhere.
[BUG] Expected behaviour
Environment
Package Version:
TypeScript version: 4.2.3
React version: 17.0.1
Node version: 16.10
Browser: Chrome
The text was updated successfully, but these errors were encountered: