Resolve session timeout warning popup closure bug in SessionManager

Fixkamo-internal
Name
lúc 12:26 25 tháng 10, 2025 UTC
Tác giả
snadjafinia
Cam kết
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.

Mọi thay đổi

Như những gì anh thấy vận chuyển?

Mỗi một bản cập nhật này đều được tự động cập nhật trong không gian làm việc của bạn. Bắt đầu tự do và xem nó lớn lên tuần này qua tuần khác.

Bắt đầu tự do mãi mãiXem truy cập