From 94ae720b08a07f1105df016c63dd0cc88bf6a4c0 Mon Sep 17 00:00:00 2001 From: Chris Parsons Date: Thu, 21 May 2026 21:11:38 -0700 Subject: [PATCH] Fix calculatePickInfo return type to include rawPickInRound Co-Authored-By: Claude Sonnet 4.6 --- app/models/draft-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/draft-utils.ts b/app/models/draft-utils.ts index d4ed90b..7479e31 100644 --- a/app/models/draft-utils.ts +++ b/app/models/draft-utils.ts @@ -330,7 +330,7 @@ export async function getTopAvailableParticipant( export function calculatePickInfo( pickNumber: number, teamCount: number -): { round: number; pickInRound: number; teamIndex: number } { +): { round: number; pickInRound: number; teamIndex: number; rawPickInRound: number } { const round = Math.ceil(pickNumber / teamCount); const rawPickInRound = ((pickNumber - 1) % teamCount) + 1;