Vizzuality/landgriffon

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

Summary

Maintainability
A
1 hr
Test Coverage

Function RADDSlider has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const RADDSlider = () => {
  const dispatch = useAppDispatch();
  const [values, setValues] = useState<number[]>([0, 0]);
  const data = layersData.find((layer) => layer.id === LAYERD_ID);
  const dates = data?.legend?.dates;
Severity: Minor
Found in client/src/containers/analysis-eudr/map/legend/radd-slider.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status