- 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> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| useDraftAuthRecovery.ts | ||
| useDraftNotifications.ts | ||
| useDraftRoomState.ts | ||
| useDraftSocket.ts | ||
| useDraftSocketEvents.ts | ||
| useFocusTrap.ts | ||
| useLocalTimezone.ts | ||
| useMediaQuery.ts | ||
| useRoundTransition.ts | ||
| useSortableData.ts | ||