FarmBot/Farmbot-Web-App

View on GitHub
frontend/controls/peripherals/peripheral_list.tsx

Summary

Maintainability
A
1 hr
Test Coverage

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

    {sortResourcesById(props.peripherals).map(peripheral => {
      const toggleValue =
        (props.pins[peripheral.body.pin || -1] || { value: undefined }).value;
      return <Row key={peripheral.uuid}>
        <Col xs={6}>
Severity: Minor
Found in frontend/controls/peripherals/peripheral_list.tsx - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status