From 0e2ea81b48245f1cb0d8be521dc5bf07aca1c998 Mon Sep 17 00:00:00 2001 From: "Kalle (Sendou)" <38327916+Sendouc@users.noreply.github.com> Date: Sat, 11 Dec 2021 10:46:34 +0200 Subject: [PATCH] Remove TODOs that aren't TODOs --- app/components/tournament/AdminTeamControls.tsx | 1 - app/utils/index.ts | 1 - prisma/seed/script.ts | 1 - 3 files changed, 3 deletions(-) diff --git a/app/components/tournament/AdminTeamControls.tsx b/app/components/tournament/AdminTeamControls.tsx index 707e97c3e..08be1a8fc 100644 --- a/app/components/tournament/AdminTeamControls.tsx +++ b/app/components/tournament/AdminTeamControls.tsx @@ -62,7 +62,6 @@ export function AdminTeamControls() { Roster size - {/* TODO: order by seed */} endOfTitle ? `sendou.ink | ${endOfTitle}` : "sendou.ink"; -// TODO: make context into object to make typoing harder /** Get logged in user from context. Throws with 401 error if no user found. */ export const requireUser = (ctx: any) => { const user = ctx.user; diff --git a/prisma/seed/script.ts b/prisma/seed/script.ts index ab669d70e..7b5e039f0 100644 --- a/prisma/seed/script.ts +++ b/prisma/seed/script.ts @@ -238,7 +238,6 @@ export async function seed(variation?: "check-in") { }); } - // TODO: why this can't be done while creating? async function tournamentAddMaps(id: string, stageIds: number[]) { const mapIds = [ 6, 13, 16, 17, 20, 23, 26, 39, 41, 43, 49, 51, 61, 63, 75, 78, 79, 83, 84,