Skip to content

Commit

Permalink
FIX js build
Browse files Browse the repository at this point in the history
  • Loading branch information
quentinovega committed Dec 6, 2023
1 parent e9d556f commit 7266604
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ export const TeamApiSubscriptions = ({ api }: TeamApiSubscriptionsProps) => {
save: (updates: CustomSubscriptionData) => {
Services.updateSubscription(currentTeam, { ...sub, ...updates })
.then(() => {
queryClient.invalidateQueries(['subscriptions'])
queryClient.invalidateQueries({ queryKey: ['subscriptions'] })
});
},
api: sub.api._id,
Expand Down

0 comments on commit 7266604

Please sign in to comment.