Resolve session timeout warning popup closure bug in SessionManager

Fixkamo-internal
ส่งแล้ว
25 ตุลาคม 2568 เวลา 12:26 UTC
ผู้เขียน
snadjafinia
ตั้งค่า
b3a0fbe

- Fixed React closure bug causing inconsistent warning popup behavior - Added useRef hooks to maintain access to latest state in callbacks - Implemented useCallback for stable handler function references - Enhanced handleExtended to properly close warning when session extended - Fixed stale state issue where callbacks referenced outdated isWarningOpen value - Added better logging for debugging state changes This ensures the session timeout warning will consistently show when needed and properly handle session extensions from other Kamo applications.

เปลี่ยนแปลงทั้งหมด

เหมือนที่คุณเห็นการขนส่ง?

ทุก คน ที่ ได้ รับ การ ปรับ ปรุง เหล่า นี้ จะ ลง ไป ใน ที่ ทํา งาน ของ คุณ โดย อัตโนมัติ. เริ่มให้อิสระและดูมันเติบโตสัปดาห์แล้วสัปดาห์เล่า.

เริ่ม เป็น อิสระ ตลอด ไปแสดงพริ้นซ์