fix: proper state indicatior in teams collections

This commit is contained in:
liyasthomas
2021-08-16 08:18:48 +05:30
parent 33e2afab7b
commit c6a3b784b5
5 changed files with 8 additions and 6 deletions

View File

@@ -227,7 +227,7 @@ export async function deleteTeam(apollo, teamID) {
}
export function exitTeam(apollo, teamID) {
apollo.mutate({
return apollo.mutate({
mutation: gql`
mutation ($teamID: String!) {
leaveTeam(teamID: $teamID)