Commit 5b4500a
fix: resolve React lint errors in canvas and save-template-overlay
- Replace useState/useEffect mounted pattern with useSyncExternalStore
for hydration-safe client detection
- Wrap setAgentState in useCallback to stabilize effect dependencies
- Replace ref-during-render with state+effect for pending_template capture
- Fix ConfirmChangesProps types (remove any, drop unused args prop)
- Add eslint-disable for intentionally scoped effect dependencies
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a1ed936 commit 5b4500a
2 files changed
Lines changed: 461 additions & 10 deletions
0 commit comments