mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-28 03:00:29 -04:00
* fix(modals): consistent text colors, copy, and workspace delete confirmation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix(modal): replace useEffect with render-time state reset Replace useEffect anti-pattern for resetting confirmation text with React's recommended "adjusting state during render" pattern. This ensures stale text is never painted and avoids an extra render cycle. --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>