fix(teams): show add user notification EE-4899 (#10873)

pull/10969/head
Dakota Walsh 2024-01-17 12:14:05 +13:00 committed by GitHub
parent 3103d498cf
commit 3f28d56bfc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ export function useAddMemberMutation(teamId: TeamId) {
notifyError('Failure', error as Error, 'Failure to add membership');
},
onSuccess() {
return queryClient.invalidateQueries(['teams', teamId, 'memberships']);
queryClient.invalidateQueries(['teams', teamId, 'memberships']);
},
}
);