diff --git a/frontend/src/components/FacetFilter.tsx b/frontend/src/components/FacetFilter.tsx index 2212d0b5..313b252e 100644 --- a/frontend/src/components/FacetFilter.tsx +++ b/frontend/src/components/FacetFilter.tsx @@ -1,4 +1,4 @@ -import React, { memo, useMemo } from 'react'; +import React, { useMemo } from 'react'; import { FormGroup, FormControlLabel, Checkbox } from '@mui/material'; import { styled } from '@mui/material/styles'; @@ -24,10 +24,6 @@ export const FacetFilter: React.FC = (props) => { } }; - const OptionTotal = memo(({ count }: { count: number }) => { - return {count}; - }); - const fixedOptions = useMemo(() => { return options; // NOTE: Desired functionality is to calculate on mount - Update deps and remove the below rule if this changes @@ -52,7 +48,6 @@ export const FacetFilter: React.FC = (props) => { label={ <> {opt.value} - } />