mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-29 22:58:18 -05:00
Remove TODOs that aren't TODOs
This commit is contained in:
@@ -62,7 +62,6 @@ export function AdminTeamControls() {
|
||||
Roster size
|
||||
</div>
|
||||
</li>
|
||||
{/* TODO: order by seed */}
|
||||
<DndContext
|
||||
id="team-seed-sorter"
|
||||
sensors={sensors}
|
||||
|
||||
@@ -4,7 +4,6 @@ import invariant from "tiny-invariant";
|
||||
export const makeTitle = (endOfTitle?: string) =>
|
||||
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;
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user