Automerge proxy objects silently ignore property writes outside change() calls. When this._thread was a proxy, removeTweetImage's assignment to this._thread.tweetImages was silently discarded, causing deleted photos to reappear. Fix by deep-cloning all Automerge reads (subscribeOffline, onChange, loadDraft) so this._thread is always a plain mutable object. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| lib | ||
| campaign-data.ts | ||
| landing.ts | ||
| local-first-client.ts | ||
| mod.ts | ||
| schemas.ts | ||