fix: teams edit modal + race conditions on currentUser
This commit is contained in:
@@ -32,7 +32,6 @@ export async function getLiveTeamMembersList(apollo, teamID) {
|
||||
},
|
||||
})
|
||||
|
||||
debugger
|
||||
subject.next(data.team.members)
|
||||
|
||||
const addedSub = apollo
|
||||
@@ -53,6 +52,7 @@ export async function getLiveTeamMembersList(apollo, teamID) {
|
||||
},
|
||||
})
|
||||
.subscribe(({ data }) => {
|
||||
console.log(data)
|
||||
subject.next([...subject.value, data.teamMemberAdded])
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user