MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / invalidateProfiles

Function invalidateProfiles

apps/web/src/hooks/useCloudAgentProfiles.ts:178–182  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

176 const trpc = useTRPC();
177
178 const invalidateProfiles = async () => {
179 await queryClient.invalidateQueries({
180 queryKey: trpc.agentProfiles.list.queryKey({ organizationId }),
181 });
182 };
183
184 const invalidateProfile = async (profileId: string) => {
185 await queryClient.invalidateQueries({

Callers 2

invalidateProfileFunction · 0.85
useProfileMutationsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected