frontend client for gemstone. decentralised workplace app
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

refactor: no need to null check anymore

serenity 5aa2f62b de36cac8

+2 -4
+2 -4
src/providers/authed/HandshakesProvider.tsx
··· 12 12 MembershipsProvider, 13 13 useMemberships, 14 14 } from "@/providers/authed/MembershipsProvider"; 15 - import type { OAuthContextValue} from "@/providers/OAuthProvider"; 15 + import type { OAuthContextValue } from "@/providers/OAuthProvider"; 16 16 import { useOAuthValue } from "@/providers/OAuthProvider"; 17 17 import { initiateHandshakeTo } from "@/queries/initiate-handshake-to"; 18 18 import { useQueries } from "@tanstack/react-query"; ··· 62 62 session: oAuthSession, 63 63 isLoading: isOauthLoading, 64 64 agent: oAuthAgent, 65 - client: oAuthClient, 66 65 } = oauth; 67 - const isOAuthReady = 68 - !isOauthLoading && !!oAuthAgent && !!oAuthClient && !!oAuthSession; 66 + const isOAuthReady = !isOauthLoading && !!oAuthAgent && !!oAuthSession; 69 67 70 68 const handshakeQueries = useQueries({ 71 69 queries: channels.map((channelObj) => ({