Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: added fallback to getNow (#1140)
When view changed and props `date === undefined` we have unexpected behavior for `handleRangeChange` and then for `onRangeChange` methods. It returns sometimes `undefined` and sometimes `Invalid Date`, so I suggest fix for this to provide default date if `date` prop isn't present.
- Loading branch information