diff --git a/src/helpers/getNextMonth.ts b/src/helpers/getNextMonth.ts index 2ed409272..7bf68d682 100644 --- a/src/helpers/getNextMonth.ts +++ b/src/helpers/getNextMonth.ts @@ -35,7 +35,7 @@ export function getNextMonth( firstDisplayedMonth ); - if (monthsDiff < numberOfMonths ?? 1) { + if (monthsDiff < numberOfMonths) { return undefined; }