frontend client for gemstone. decentralised workplace app
1
fork

Configure Feed

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

refactor: rename function

serenity 20f78532 c204f074

+3 -3
+3 -3
src/queries/hooks/useConstellationInvitesQuery.ts
··· 10 10 useQuery({ 11 11 queryKey, 12 12 queryFn: async () => { 13 - return await invitesQueryFn(session); 13 + return await constellationInvitesQueryFn(session); 14 14 }, 15 15 }), 16 16 }; 17 17 }; 18 18 19 - const invitesQueryFn = async (session: OAuthSession) => { 19 + const constellationInvitesQueryFn = async (session: OAuthSession) => { 20 20 const invites = await getInvitesFromConstellation(session.did); 21 21 22 22 if (!invites.ok) { 23 - console.error("invitesQueryFn error.", invites.error); 23 + console.error("constellationInvitesQueryFn error.", invites.error); 24 24 throw new Error( 25 25 `Something went wrong while getting the user's invite records.}`, 26 26 );