markers only show for scheduled games

This commit is contained in:
Owen Rees
2023-09-25 20:58:09 +02:00
parent 57eab6986d
commit 14084aa671
4 changed files with 180 additions and 182 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ export const filteredTournamentsByTimeControlAtom = atom((get) => {
return tournaments.filter(
(tournament) =>
!tournament.pending &&
!tournament.pending && tournament.status === 'scheduled' &&
((tournament.timeControl === TimeControl.Classic && classic) ||
(tournament.timeControl === TimeControl.Rapid && rapid) ||
(tournament.timeControl === TimeControl.Blitz && blitz) ||