diff --git a/app/routes/leagues/$leagueId.draft.$seasonId.tsx b/app/routes/leagues/$leagueId.draft.$seasonId.tsx index c00931d..6c740b9 100644 --- a/app/routes/leagues/$leagueId.draft.$seasonId.tsx +++ b/app/routes/leagues/$leagueId.draft.$seasonId.tsx @@ -508,7 +508,7 @@ export default function DraftRoom() { // loaderTimerNow is server-side Date.now() — subtract from server expiresAt to get ms remaining // without skew, then re-anchor to client clock. const active = timers.find((t) => t.picksExpiresAt && t.picksExpiresAt.getTime() > loaderTimerNow); - if (!active) return null; + if (!active?.picksExpiresAt) return null; const secondsRemaining = Math.ceil((active.picksExpiresAt.getTime() - loaderTimerNow) / 1000); return { teamId: active.teamId, expiresAt: Date.now() + secondsRemaining * 1000 }; });