Fix OTK validation duplicate calls issue

Otherkamo-internal
সারি
১৪ অক্টোবর, ২০২৫ এ ২:৫৫ AM UTC
লেখক
snadjafinia
মন্তব্য@ info: status
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.

সব পরিবর্তন

যেমন তুমি জাহাজ দেখেছ?

প্রত্যেকটা আপডেট স্বয়ংক্রিয়ভাবে আপনার কর্মক্ষেত্র স্বয়ংক্রিয়ভাবে. সপ্তাহের পর সপ্তাহের মধ্যে মুক্ত হয়ে তা দেখতে শুরু করুন।.

চিরকালের জন্য মুক্তকরণ আরম্ভ করা হবেপ্রদর্শন সংক্রান্ত পছন্দ