tangled
alpha
login
or
join now
ciaran.co.za
/
cumulus
0
fork
atom
A Prediction Market on the AT Protocol
0
fork
atom
overview
issues
pulls
pipelines
refactor(auth-context-provider.tsx): use or for loading state
Ciaran
1 week ago
846a92ab
5799e176
+1
-1
1 changed file
expand all
collapse all
unified
split
src
web
providers
auth-context-provider.tsx
+1
-1
src/web/providers/auth-context-provider.tsx
···
43
43
staleTime: () => Infinity,
44
44
});
45
45
46
46
-
const loading = isPending ?? isLoading ?? isLoginLoading;
46
46
+
const loading = isPending || isLoading || isLoginLoading;
47
47
const authenticated = data?.client && data?.profile;
48
48
49
49
return <main className="subpixel-antialiased text-shell-900 bg-shell-50 flex flex-col h-screen">