frontend/controls/peripherals/peripheral_list.tsx
Function PeripheralList
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
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}>