MCPcopy Create free account
hub / github.com/bytebase/bytebase / removeValue

Function removeValue

frontend/src/react/components/ExprEditor.tsx:534–536  ·  view source on GitHub ↗
(v: string)

Source from the content-addressed store, hash-verified

532 };
533
534 const removeValue = (v: string) => {
535 onChange(value.filter((x) => x !== v));
536 };
537
538 const close = useCallback(() => setOpen(false), []);
539 useClickOutside([triggerRef, dropdownRef], open, close);

Callers 1

MultiSearchableSelectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected