MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / remove

Function remove

apps/host-selfhost/web/routes/app/admin.tsx:109–114  ·  view source on GitHub ↗
(membershipId: string, label: string)

Source from the content-addressed store, hash-verified

107 };
108
109 const remove = async (membershipId: string, label: string) => {
110 const exit = await doRemove({ params: { membershipId }, reactivityKeys: orgMemberWriteKeys });
111 toast[Exit.isSuccess(exit) ? "success" : "error"](
112 Exit.isSuccess(exit) ? `Removed ${label}` : "Failed to remove member",
113 );
114 };
115
116 return (
117 <section className="space-y-3">

Callers 1

MembersSectionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected