mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-25 13:10:13 +00:00
865410fc21
Replace the fragile setTimeout(500ms) with a deterministic guard: wasAuthenticated.current already prevents spurious redirects during MSAL's double handleRedirectPromise cycle. The real fix was setting navigateToLoginRequestUrl: false in msalConfig. No timer needed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>