diff --git a/app/components/draft/AvailableParticipantsSection.tsx b/app/components/draft/AvailableParticipantsSection.tsx index 53d5824..e877be2 100644 --- a/app/components/draft/AvailableParticipantsSection.tsx +++ b/app/components/draft/AvailableParticipantsSection.tsx @@ -6,7 +6,6 @@ interface AvailableParticipantsSectionProps { participants: Array<{ id: string; name: string; - expectedValue: number; sport: { id: string; name: string; @@ -117,7 +116,6 @@ export function AvailableParticipantsSection({ Participant Sport - EV {hasTeam && ( Queue )} @@ -127,7 +125,7 @@ export function AvailableParticipantsSection({ {participants.length === 0 ? ( No participants found @@ -192,9 +190,6 @@ export function AvailableParticipantsSection({ {participant.sport.name} - - {participant.expectedValue ? participant.expectedValue.toFixed(1) : "—"} - {hasTeam && (
diff --git a/app/routes/leagues/$leagueId.draft.$seasonId.tsx b/app/routes/leagues/$leagueId.draft.$seasonId.tsx index 5eb0700..a06917f 100644 --- a/app/routes/leagues/$leagueId.draft.$seasonId.tsx +++ b/app/routes/leagues/$leagueId.draft.$seasonId.tsx @@ -123,7 +123,6 @@ export async function loader(args: any) { .select({ id: schema.participants.id, name: schema.participants.name, - expectedValue: schema.participants.expectedValue, sport: schema.sports, }) .from(schema.participants) @@ -145,11 +144,6 @@ export async function loader(args: any) { asc(schema.participants.name) ); - // Parse decimal expectedValue (Drizzle returns strings for decimal columns) - availableParticipants = availableParticipants.map((p: any) => ({ - ...p, - expectedValue: parseFloat(p.expectedValue) || 0, - })); } // Load user's team queue if they have a team @@ -1016,7 +1010,6 @@ export default function DraftRoom() { Participant Sport - EV Action @@ -1059,9 +1052,6 @@ export default function DraftRoom() { {participant.sport.name} - - {participant.expectedValue ? participant.expectedValue.toFixed(1) : "—"} -