Apply SP6 correctness and implementation quality fixes

Fixkamo-register
Shipped
18 Aprili 2026, 17:01 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

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei