KamoCRM

Apply SP6 correctness and implementation quality fixes

Fixkamo-register
Shipped
18 ஏப்ரல், 2026 அன்று 5:01 PM UTC
Author
Kamo
Commit
704c8a0

C1: use NEXT_PUBLIC_H***_SITE_KEY env var instead of hardcoded placeholder C2: change RegisterResponse.userId and all API params from number to string (CockroachDB unique_rowid precision) C3: clear stale *** token (set***Token(null)) in handle***Submit catch block I2: stabilize debounced alias/email uniqueness checks in FormPassportID using useRef so timers are not discarded on re-render I4: add onAvatarChange to Avatar CreatorGenerator useEffect deps; wrap handleAvatarGenerated in useCallback to stabilize the reference I5: confirm "Avatar" (13+) step intentionally has no validation guard; add comment documenting skip-allowed policy

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