Skip to content

Commit

Permalink
Merge branch 'main' of github.com:gpbl/react-day-picker
Browse files Browse the repository at this point in the history
  • Loading branch information
gpbl committed Jul 17, 2024
2 parents ce6bf82 + 014f83c commit 223e5b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/getNextMonth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function getNextMonth(
firstDisplayedMonth
);

if (monthsDiff < numberOfMonths ?? 1) {
if (monthsDiff < numberOfMonths) {
return undefined;
}

Expand Down

0 comments on commit 223e5b6

Please sign in to comment.