Update pages/settings/teams.tsx
Co-authored-by: Bailey Pumfleet <[email protected]>
This commit is contained in:
1 parent
b91d021fc8
commit
769f36f8d5
1 file changed
+1
-1
@@ -24,7 +24,7 @@ export default function Teams() {
|
||||
}
|
||||
|
||||
const loadData = () => {
|
||||
fetch('/api/user/membership')
|
||||
fetch("/api/user/membership")
|
||||
.then(handleErrors)
|
||||
.then((data) => {
|
||||
setTeams(data.membership.filter((m) => m.role !== "INVITEE"));
|
||||
|
||||
Reference in new issue
Block a user