Vizzuality/landgriffon

View on GitHub
client/src/components/legend/item/comparisonModeToggle.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function ComparisonToggle has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const ComparisonToggle = () => {
  const dispatch = useAppDispatch();
  const { comparisonMode } = useAppSelector(scenarios);

  const getHandleChangeComparison = useCallback(
Severity: Minor
Found in client/src/components/legend/item/comparisonModeToggle.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status