MCPcopy Create free account
hub / github.com/FeatureProbe/FeatureProbe / handleDelete

Function handleDelete

ui/src/pages/toggle/hooks.tsx:24–27  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

22 };
23
24 const handleDelete = (index: number) => {
25 variations.splice(index, 1);
26 saveVariations([...variations]);
27 };
28
29 const handleInput = (e: SyntheticEvent, detail: InputOnChangeData) => {
30 const { value, index, customname } = detail;

Callers 6

VariationsFunction · 0.50
VariationItemFunction · 0.50
RuleTitleFunction · 0.50
RuleContentFunction · 0.50
MemberItemFunction · 0.50
WebHookItemFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected