FarmBot/Farmbot-Web-App

View on GitHub
frontend/farm_designer/map/tool_graphics/slot.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function ToolbaySlot has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const ToolbaySlot = (props: ToolSlotGraphicProps) => {
  const { id, x, y, pulloutDirection, quadrant, xySwap } = props;
  const angle = toolbaySlotAngle(pulloutDirection, quadrant, xySwap);
  const width = SlotDimensions.width;
  const length = SlotDimensions.topViewLength;
Severity: Minor
Found in frontend/farm_designer/map/tool_graphics/slot.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status