- Fix misleading early-return message: "No picks have been made yet" only fires when there are no sports configured, so update to say "No sports have been configured for this season." - Remove unused draftOrder and team.seasonId from TeamsDraftedGrid props - Replace availableParticipants prop with sports prop to eliminate duplicate sports derivation; route already computes seasonSportsData - Add alphabetical sort to seasonSportsData so ordering is consistent - Fix availableParticipants: any[] in loader — restructure to ternary so TypeScript infers the Drizzle select type directly - Remove any annotation from seasonSportsData forEach callback (now typed) - Fix teamSportPicks.indexOf(pick) O(n) re-scan — use map callback index i https://claude.ai/code/session_01DZ6jqgZTDEmJucanBtRCtM |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| draft | ||
| scoring | ||
| sports | ||
| standings | ||
| ui | ||
| AutodraftSettings.tsx | ||
| DraftGrid.tsx | ||
| DraftSidebar.tsx | ||
| navbar.tsx | ||
| NotificationSettings.tsx | ||
| ParticipantSelector.tsx | ||
| StandingsTable.tsx | ||