()
| 255 | |
| 256 | // Load session history first, then check for active session |
| 257 | const initializeSession = async () => { |
| 258 | await loadSessionHistory(); |
| 259 | // After loading history, check if the session is still active |
| 260 | if (isMountedRef.current) { |
| 261 | await checkForActiveSession(); |
| 262 | } |
| 263 | }; |
| 264 | |
| 265 | initializeSession(); |
| 266 | } |
no test coverage detected