Skip to content

Commit

Permalink
removing comment line
Browse files Browse the repository at this point in the history
  • Loading branch information
mayaraman19 committed Oct 18, 2023
1 parent bfb8ad7 commit 09d44cf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/SearchResults/Facets/FacetValue.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ const findNumSelectedSubFacets = (searchParams, nestedSubFacets, fullFacetId) =>
count++;
}
}
//console.log(count);
return count;
};

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 09d44cf

Please sign in to comment.