client/src/components/legend/item/comparisonModeToggle.tsx
Function ComparisonToggle
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const ComparisonToggle = () => {
const dispatch = useAppDispatch();
const { comparisonMode } = useAppSelector(scenarios);
const getHandleChangeComparison = useCallback(