MCPcopy Create free account
hub / github.com/Lobos/react-ui / removeFilter

Function removeFilter

src/Filter.js:84–88  ·  view source on GitHub ↗
(index)

Source from the content-addressed store, hash-verified

82 }
83
84 removeFilter (index) {
85 let filters = this.state.filters;
86 filters.splice(index, 1);
87 this.setState({ filters });
88 }
89
90 clearFilter () {
91 this.setState({ filters: [], resultText: '' });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…