KamoCRM

One "on" colour, and a retry that does not cascade

Fixkamo-internal
Shipped
10 செப்டம்பர், 2026 அன்று 12:10 AM UTC
Author
Kamo
Commit
cf232a3

Two things left over from the categories table. The allow swatch was tinted by whether the setting is locked — primary for locked, a green for unlocked. The lock icon beside it already says that, so the colour only doubled up on it, and on an organization whose primary colour IS green the two greens read as the same state. One colour for "on" now; the lock answers the other question. And the retry called the loader through a useCallback, so the effect body set state synchronously — which the React Compiler rule rejects, and which is the cascading render the rule is named for. Retry bumps a token the effect depends on instead, and the effect guards its own writes against an unmount.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing