MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / onDeleteMember

Function onDeleteMember

apps/web/ui/MembersView/index.tsx:336–345  ·  view source on GitHub ↗
(user: MembersType)

Source from the content-addressed store, hash-verified

334 };
335
336 const onDeleteMember = async (user: MembersType) => {
337 await api
338 .deleteUser({
339 userId: user.id,
340 accountId: currentCommunity.id,
341 })
342 .then((_) => {
343 routerReload();
344 });
345 };
346
347 function getShareUrl() {
348 const url =

Callers 1

RowMemberFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected