- Pause snapshot used Math.floor while the client display used Math.ceil, causing the visible clock to round down by 1s on pause click - draft-state-sync also used Math.floor for reconnecting clients - Extract msToSeconds() to app/lib/draft-timer.ts as the single source of truth for all ms→seconds conversions across server and client 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 | ||