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;