MCPcopy Create free account
hub / github.com/EsperoTech/yaade / deleteGroup

Function deleteGroup

client/src/components/groupsInput/GroupsInput.tsx:41–44  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

39 }
40
41 function deleteGroup(name: string) {
42 const newGroups = groups.filter((el) => el !== name);
43 setGroups(newGroups);
44 }
45
46 return (
47 <VStack alignItems="start" width="100%" className={className}>

Callers 1

GroupsInputFunction · 0.85

Calls 1

setGroupsFunction · 0.85

Tested by

no test coverage detected