Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function onClick() {
refine(items);
document.body.classList.remove('filtering');
containerRef.current.scrollIntoView();
}
return (
<div>
<button>
Reset filters
</button>
</div>
);
};
export default connectCurrentRefinements(ClearFiltersMobile);
);
}
const ConnectedSearchBox = connectSearchBox(MaterialUiSearchBox);
const ConnectedCheckBoxRefinementList = connectRefinementList(
MaterialUiCheckBoxRefinementList
);
const ConnectedNestedList = connectHierarchicalMenu(MaterialUiNestedList);
const ConnectedSortBy = connectSortBy(MaterialUiSortBy);
const ConnectedHits = connectInfiniteHits(CustomHits);
const ConnectedCurrentRefinements = connectCurrentRefinements(
MaterialUiClearAllFilters
);
export default withURLSync(App);