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 {