Fix OTK validation duplicate calls issue

Otherkamo-internal
Змішані
14 жовтня 2025 р. о 02:55 UTC
Авторизація
snadjafinia
Про нас
e5904fa

- Add useRef to track validation attempts - Prevent duplicate API calls (critical for one-time keys) - Change useEffect deps to empty array (run once on mount) - Add extensive logging for debugging - Reduce redirect delay to 1.5 seconds This fixes the 'Invalid or expired one-time key' error caused by React Strict Mode or component re-renders triggering multiple validation attempts with the same OTK.

Всі зміни

Як ви бачите відправлення?

Кожен з цих оновлень землі в робочому просторі автоматично. Почати вільний час і дивитися його на тиждень після тижня.

БезкоштовноПерегляд цін