KamoCRM

Stop refresh icon blinking via infinite check loop

Fixkamo-internal
Shipped
1 ஜூலை, 2026 அன்று 5:45 PM UTC
Author
kamo
Commit
3b8ec76

Once a domain was SSL-confirmed, checkDns unconditionally built a new domain object even when sslConfirmed was already true. The new object reference re-triggered the polling effect (deps include domain), which called checkDns again, looping forever and toggling the checking state so the refresh icon flickered between spinner and refresh glyph. Guard the setDomain updater with !prev.sslConfirmed so it returns the same reference when nothing changed, breaking the loop.

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