From 9f1676227c783eea21d9a71446c61403781ca111 Mon Sep 17 00:00:00 2001 From: brandonw504 Date: Sun, 28 Apr 2024 10:47:01 -0700 Subject: [PATCH] Removed splicing --- app/(api)/_utils/scoring/rankTeams.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/(api)/_utils/scoring/rankTeams.ts b/app/(api)/_utils/scoring/rankTeams.ts index 7755c8f..dd8e369 100644 --- a/app/(api)/_utils/scoring/rankTeams.ts +++ b/app/(api)/_utils/scoring/rankTeams.ts @@ -108,7 +108,12 @@ export default async function rankTeams(teams: Team[]) { } topEntries.sort((entry1, entry2) => entry2.score - entry1.score); - topEntries.splice(10); + // if ( + // track.name !== 'Best Hack for Life of Kai' || + // track.name !== 'Best Hack for DCMH' || + // track.name !== 'Best Hack for AggieHouse' + // ) + // topEntries.splice(10); trackResults.push({ track: track.name,