MCPcopy Index your code
hub / github.com/block/buzz / useIdentityQuery

Function useIdentityQuery

desktop/src/shared/api/hooks.ts:5–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import { getIdentity } from "@/shared/api/tauri";
4
5export function useIdentityQuery() {
6 return useQuery({
7 queryKey: ["identity"],
8 queryFn: getIdentity,
9 staleTime: Number.POSITIVE_INFINITY,
10 });
11}

Callers 15

HuddleBarFunction · 0.90
useAppOnboardingStateFunction · 0.90
useProfileQueryFunction · 0.90
useSelfProfileCacheFunction · 0.90
useUpdateProfileMutationFunction · 0.90
UserProfilePopoverFunction · 0.90
NewDirectMessageDialogFunction · 0.90
PulseScreenFunction · 0.90
MembersSidebarFunction · 0.90
ProjectsViewFunction · 0.90
ProjectDetailScreenFunction · 0.90
useIsArchivedPredicateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected