You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactors the entire app to use React Hooks and React Context and upgrades the Airbnb date picker. The API for interacting with the date picker should all be the same.
There was an issue with setting the state value to null when the clearSelectedRange
function is called and then the moment-range isSame function is
called. It would throw an error and break everything because null was
getting passed in to be compared with an actual moment-range object.
Instead of setting the state value to null this sets it to a
moment-range object.
Fixes an issue that used the constructor.name of the dates used to check
if it is a valid Moment object. When the code is compiled for production
the name value is changed because it is minified.
Also, upgrades webpack and webpack-cli to the latest version and fixes a
config issue with the webpack.cvonfig.js file when building the example file.
Fixes issue with re-selecting dates, so that when a date range is selected, selecting a date before the start date, or after the end date, extends the date range instead of resetting the entire selected range.