From dc1add0b1bb4a735e0ed3f76f319da8d6a10bea2 Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Mon, 23 Mar 2026 14:37:10 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20always=20call=20fetchMe()=20on=20mount?= =?UTF-8?q?=20=E2=80=94=20loading:true=20blocked=20initial=20auth=20check?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index e63bfae..eb34b10 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -24,7 +24,7 @@ function AuthGate({ children }: { children: React.ReactNode }) { const acquire = async () => { // Dev mode: skip MSAL, just call /auth/me directly if (import.meta.env.DEV || accounts.length === 0) { - if (!user && !loading) fetchMe() + if (!user) fetchMe() return } try {