FarmBot/Farmbot-Web-App

View on GitHub
frontend/farm_designer/map/background/target_coordinate.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function TargetCoordinate has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function TargetCoordinate(props: TargetCoordinateProps) {
  const ID = "target-coordinate";
  if (!props.chosenLocation) { return <g id={ID} />; }
  const { x, y } = props.chosenLocation;
  if (isNumber(x) && isNumber(y)) {
Severity: Minor
Found in frontend/farm_designer/map/background/target_coordinate.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status