Skip to content

Commit

Permalink
fix: reload after subscription update
Browse files Browse the repository at this point in the history
  • Loading branch information
kunish committed Jul 1, 2023
1 parent e18b5f0 commit b1587e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/apis/mutation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,7 @@ export const useUpdateSubscriptionsMutation = () => {
),
onSuccess: () => {
queryClient.invalidateQueries({ queryKey: QUERY_KEY_SUBSCRIPTION })
queryClient.invalidateQueries({ queryKey: QUERY_KEY_GENERAL })
},
})
}
Expand Down

0 comments on commit b1587e5

Please sign in to comment.