Skip to content

Commit

Permalink
remove space betweem comment and code
Browse files Browse the repository at this point in the history
  • Loading branch information
joakbjerk committed Jan 5, 2024
1 parent 705676c commit 30a9aad
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ const isWithinSelectionCalc = (date, startDate, endDate) => {
// date is before minDate or after maxDate
const isDisabledCalc = (date, minDate, maxDate) => {
// isBefore and isAfter return false if comparison date is undefined, which is useful here in case minDate and maxDate aren't supplied

return (
(minDate && isBefore(date, startOfDay(minDate))) ||
(maxDate && isAfter(date, startOfDay(maxDate)))
Expand Down

0 comments on commit 30a9aad

Please sign in to comment.