Skip to content

Commit

Permalink
Work
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviendelangle committed Dec 13, 2024
1 parent 5141c33 commit 7e25a8a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/x-date-pickers/src/YearCalendar/YearCalendar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -315,11 +315,6 @@ export const YearCalendar = React.forwardRef(function YearCalendar(
yearRange.reverse();
}

let fillerAmount = yearsPerRow - (yearRange.length % yearsPerRow);
if (fillerAmount === yearsPerRow) {
fillerAmount = 0;
}

return (
<YearCalendarRoot
ref={handleRef}
Expand Down

0 comments on commit 7e25a8a

Please sign in to comment.