Skip to content

Commit

Permalink
fix: Use new orgs fetched from GH resync
Browse files Browse the repository at this point in the history
  • Loading branch information
calvin-codecov committed Jul 29, 2024
1 parent 4ebd296 commit 7ab3239
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/services/user/useResyncUser.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ export function useResyncUser() {
queryClient.invalidateQueries({
queryKey: ['repos', provider, owner],
})
queryClient.invalidateQueries({
queryKey: ['UseMyOrganizations', provider],
})
}
}, [isFetching, isSuccess, queryClient, provider, owner])

Expand Down

0 comments on commit 7ab3239

Please sign in to comment.