Resolve session timeout warning popup closure bug in SessionManager

Fixkamo-internal
Navios
25 de outubro de 2025 às 12:26 UTC
Autor
snadjafinia
Enviar
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.

Todas as alterações

Como o que vês no transporte?

Cada uma dessas atualizações pousa automaticamente em seu espaço de trabalho. Comece grátis e veja crescer semana após semana.

Começar Livre Para SempreVer Preços