diff --git a/frontend/src/components/SeasonSwitch/SeasonSwitch.tsx b/frontend/src/components/SeasonSwitch/SeasonSwitch.tsx index 35d43b2..3c628ec 100644 --- a/frontend/src/components/SeasonSwitch/SeasonSwitch.tsx +++ b/frontend/src/components/SeasonSwitch/SeasonSwitch.tsx @@ -21,7 +21,7 @@ const SeasonSwitch: React.FC = (props: IUserListProperties) { - seasonId !== maxSeasonId + seasonId < maxSeasonId && props.onSeasonIdChange('' + (seasonId + 1))}>