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

Function handleChangeVariation

ui/src/pages/toggle/hooks.tsx:40–46  ·  view source on GitHub ↗
(index: number, value: string)

Source from the content-addressed store, hash-verified

38 };
39
40 const handleChangeVariation = (index: number, value: string) => {
41 if (variations[index]) {
42 variations[index]['value'] = value;
43 }
44
45 saveVariations([...variations]);
46 };
47
48 return {
49 variations,

Callers 1

VariationItemFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected