From cd2544f38cbfaea40b2d582e908500ef07437033 Mon Sep 17 00:00:00 2001 From: Savsis Date: Tue, 28 Apr 2026 07:11:10 +0500 Subject: [PATCH] Update useAuth.ts --- hooks/useAuth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/useAuth.ts b/hooks/useAuth.ts index 45d2aa9..5df3aaa 100644 --- a/hooks/useAuth.ts +++ b/hooks/useAuth.ts @@ -11,7 +11,7 @@ export function useBootAuth() { const token = await getAccessToken(); if (!token) { setReady(true); return; } const me = await getMe(); - setUser(me); + if (me) setUser(me); } catch { // ignore } finally {