Function
remove
(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"> |
Tested by
no test coverage detected