Vizzuality/landgriffon

View on GitHub
client/src/containers/analysis-eudr/map/legend/component.tsx

Summary

Maintainability
B
5 hrs
Test Coverage

Function EURDLegend has 139 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const EURDLegend = () => {
  const dispatch = useAppDispatch();
  const { supplierLayer, contextualLayers } = useAppSelector((state) => state.eudr);

  const [isOpen, setIsOpen] = useState(false);
Severity: Major
Found in client/src/containers/analysis-eudr/map/legend/component.tsx - About 5 hrs to fix

    There are no issues that match your filters.

    Category
    Status