FarmBot/Farmbot-Web-App

View on GitHub
frontend/tools/tool_verification.tsx

Summary

Maintainability
A
1 hr
Test Coverage

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

export const ToolVerification = (props: ToolVerificationProps) => {
  const toolVerificationSensor =
    props.sensors.filter(sensor => sensor.body.label.toLowerCase()
      .includes("tool verification"))[0] as TaggedSensor | undefined;
  const toolVerificationPin = toolVerificationSensor
Severity: Minor
Found in frontend/tools/tool_verification.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status