Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shammamah Hossain committed Nov 6, 2019
1 parent c1bbde2 commit d15d912
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/utils/convertToMoment.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ export default (newProps, momentProps) => {
dest[key] = null;

if (key === 'initial_visible_month') {
dest[key] =
dest[key] = moment(
newProps.start_date ||
newProps.min_date_allowed ||
newProps.end_date ||
newProps.max_date_allowed ||
undefined;
undefined
);
}
} else {
dest[key] = moment(value);
Expand Down

0 comments on commit d15d912

Please sign in to comment.