Skip to content

Commit 35137a1

Browse files
bistlineeweitz
andauthored
Update app/javascript/components/search/controls/FiltersBoxSearchable.jsx
Co-authored-by: Eric Weitz <[email protected]>
1 parent 6e0037d commit 35137a1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/javascript/components/search/controls/FiltersBoxSearchable.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ export default function FiltersBoxSearchable({ facet, selection, setSelection, s
4444
* for filters matching the term "tuberculosis".
4545
*/
4646
function searchFilters(terms) {
47-
// const apiData = await fetchFacetFilters(facet.id, terms)
48-
// const newFilters = apiData.filters
4947
const lcTerms = terms.split(' ').map(text => text.toLowerCase())
5048
const newFilters = facet.filters.filter(facetFilter => {
5149
return lcTerms.some(lcTerm => {

0 commit comments

Comments
 (0)