frontend/sequences/step_tiles/tile_if/update_lhs.ts
Function updateLhs
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
(props: LhsUpdateProps) => {
const { currentStep, currentSequence, dispatch, index, resources } = props;
return (ddi: DropDownItem) => {
const stepCopy = defensiveClone(currentStep);
const seqCopy = defensiveClone(currentSequence).body;