Skip to content

Commit

Permalink
feat: Refreshed team members on project change
Browse files Browse the repository at this point in the history
  • Loading branch information
chavda-bhavik committed Oct 19, 2024
1 parent 4c4a581 commit aad9718
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/web/hooks/useProject.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export function useProject() {
{
onSuccess() {
refetchMeData();
queryClient.invalidateQueries([API_KEYS.LIST_TEAM_MEMBERS]);
modals.close(MODAL_KEYS.MANAGE_PROJECT_MODAL);
},
}
Expand Down

0 comments on commit aad9718

Please sign in to comment.