Update pages/settings/teams.tsx

Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
This commit is contained in:
Mihai C 2021-07-01 12:30:51 +03:00 committed by GitHub
parent 4a1e8cfbf7
commit 9eff620ee0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@ export default function Teams() {
.then((data) => {
setTeams(data.membership.filter((m) => m.role !== "INVITEE"));
setInvites(data.membership.filter((m) => m.role === "INVITEE"));
})
})
.catch(console.log);
}