diff --git a/src/forms/TournamentFilterForm.js b/src/forms/TournamentFilterForm.js index 0336f26..caa87fa 100644 --- a/src/forms/TournamentFilterForm.js +++ b/src/forms/TournamentFilterForm.js @@ -11,7 +11,7 @@ const TournamentFilterForm = forwardRef(function TournamentFilterForm({ }, ref) { const [tournamentTitle, setTournamentTitle] = useState(''); const [minPlayOutDate, setMinPlayOutDate] = useState(new Date(0)); - const [maxPlayOutDate, setMaxPlayOutDate] = useState(new Date()); + const [maxPlayOutDate, setMaxPlayOutDate] = useState(new Date(new Date().setFullYear(new Date().getFullYear() + 10))); const [creator, setCreator] = useState(''); const [userParticipation, setUserParticipation] = useState('');