Update pages/settings/teams.tsx
Co-authored-by: Bailey Pumfleet <pumfleet@hey.com>
This commit is contained in:
parent
4a1e8cfbf7
commit
9eff620ee0
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ export default function Teams() {
|
||||||
.then((data) => {
|
.then((data) => {
|
||||||
setTeams(data.membership.filter((m) => m.role !== "INVITEE"));
|
setTeams(data.membership.filter((m) => m.role !== "INVITEE"));
|
||||||
setInvites(data.membership.filter((m) => m.role === "INVITEE"));
|
setInvites(data.membership.filter((m) => m.role === "INVITEE"));
|
||||||
})
|
})
|
||||||
.catch(console.log);
|
.catch(console.log);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue