- pauseDraftOnError now calls onDraftPaused() before emitting so the error-path pause carries the same snapshotted timer data as the manual-pause route (fixes inconsistency between the two paths) - Parallelize DB updates in onDraftPaused with Promise.all instead of sequential awaits - Extract clientExpiresAt() helper to draft-timer.ts and use it in all three places that re-anchor timeRemaining to the client clock, replacing duplicated Date.now() + timeRemaining * 1000 expressions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| contexts | ||
| hooks | ||
| lib | ||
| models | ||
| routes | ||
| services | ||
| test | ||
| types | ||
| utils | ||
| welcome | ||
| app.css | ||
| entry.client.tsx | ||
| entry.server.tsx | ||
| root.tsx | ||
| routes.ts | ||