mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 12:42:38 +00:00
e62bac9fea
wasAuthenticated was written AND read during render (the only such case). Historical per-mount state belongs in useState, adjusted during render via the guarded official pattern — behavior-identical: the value is only consulted in !isAuthenticated renders, which can only follow a render that already set it. Auth-gate control flow (auto re-login, loading early-return, post-login return URL) untouched. react-hooks/refs: 26 -> 0. Lint ratchet 115. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>