FarmBot/Farmbot-Web-App

View on GitHub
frontend/sequences/step_tiles/tile_if/update_lhs.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function updateLhs has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  (props: LhsUpdateProps) => {
    const { currentStep, currentSequence, dispatch, index, resources } = props;
    return (ddi: DropDownItem) => {
      const stepCopy = defensiveClone(currentStep);
      const seqCopy = defensiveClone(currentSequence).body;
Severity: Minor
Found in frontend/sequences/step_tiles/tile_if/update_lhs.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status