Skip to content

Commit

Permalink
add fetchPolicy to get users for team query
Browse files Browse the repository at this point in the history
  • Loading branch information
RODO94 committed Oct 1, 2024
1 parent 2809806 commit 5f5f4bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor.planx.uk/src/routes/teamMembers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const teamMembersRoutes = compose(
} = await client.query<GetUsersForTeam>({
query: GET_USERS_FOR_TEAM_QUERY,
variables: { teamSlug },
fetchPolicy: "no-cache",
});

const teamMembers: TeamMember[] = users.map((user) => ({
Expand Down

0 comments on commit 5f5f4bb

Please sign in to comment.