diff --git a/pages/settings/teams.tsx b/pages/settings/teams.tsx index 36b57984ff..b0df7e31ee 100644 --- a/pages/settings/teams.tsx +++ b/pages/settings/teams.tsx @@ -26,7 +26,7 @@ export default function Teams() { const loadData = () => { fetch("/api/user/membership") .then(handleErrors) - .then((data) => { + .then((data) => { setTeams(data.membership.filter((m) => m.role !== "INVITEE")); setInvites(data.membership.filter((m) => m.role === "INVITEE")); })