348bccae34fa9274b28e9f0b3378f31e9e5f8924
The draft-resync useEffect fired on every new `draft` object (initial load, refresh, another save), even when its content matched `local`. If it flushed after the user started editing, it silently discarded the edit — flaky in tests where a passive effect can settle after a synchronous fireEvent sequence, and a real risk in production if a fetch lands mid-edit. Now it only resyncs when `local` still matches the last-adopted draft. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The file is empty.
Description
Languages
Rust
80.5%
TypeScript
19.4%