diff --git a/app/components/play/MapList.tsx b/app/components/play/MapList.tsx index 78407f2bf..6240ad47b 100644 --- a/app/components/play/MapList.tsx +++ b/app/components/play/MapList.tsx @@ -40,6 +40,15 @@ export function MapList({ mapList, canSubmitScore, groupIds }: MapListProps) { setWinners(newWinners); }; + const selectInvisible = (index: number) => { + if (scoreValid(winners, mapList.length) && winners.length <= index) { + return true; + } + if (index > winners.length) return true; + + return false; + }; + return (

    Map list

    @@ -55,7 +64,7 @@ export function MapList({ mapList, canSubmitScore, groupIds }: MapListProps) { {canSubmitScore && (