From 09d44cf4770a624d3f83d044e42234a78f7d2348 Mon Sep 17 00:00:00 2001 From: Maya Raman Date: Wed, 18 Oct 2023 11:23:56 -0400 Subject: [PATCH] removing comment line --- src/components/SearchResults/Facets/FacetValue.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/SearchResults/Facets/FacetValue.js b/src/components/SearchResults/Facets/FacetValue.js index 4acc793d2..86ba42040 100644 --- a/src/components/SearchResults/Facets/FacetValue.js +++ b/src/components/SearchResults/Facets/FacetValue.js @@ -77,7 +77,6 @@ const findNumSelectedSubFacets = (searchParams, nestedSubFacets, fullFacetId) => count++; } } - //console.log(count); return count; }; @@ -140,14 +139,14 @@ const FacetValue = ({ facetsToUpdate.push({ key, id, checked }); handleFacetChange(facetsToUpdate, checked); }, - [handleFacetChange, key, id, nestedSubFacets, numSelectedSubProducts] + [handleFacetChange, key, id, nestedSubFacets] ); const onClickHandler = () => { const facetsToUpdate = []; selfAndSiblings.forEach((facet) => { let checked = false; - if (key == facet.key && id == facet.id) checked = true; + if (key === facet.key && id === facet.id) checked = true; const updatedFacet = { key: facet.key, id: facet.id,