Skip to content

Commit

Permalink
fix(PatternStopCard.js): Attempt to fox flow issue 3
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Gregg committed Jul 3, 2021
1 parent ae5eaae commit cb588be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/editor/components/pattern/PatternStopCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type Props = {
index: number,
isDragging: boolean,
moveCard: (string, number) => void,
onChange: () => void,
onChange: (evt: SyntheticInputEvent<HTMLInputElement>) => void,
patternEdited: boolean,
patternStop: PatternStop,
removeStopFromPattern: typeof stopStrategiesActions.removeStopFromPattern,
Expand Down Expand Up @@ -307,7 +307,7 @@ class PatternStopContents extends Component<Props, State> {
updatePatternStops(activePattern, patternStops)
}

_onPickupOrDropOffChange = (evt: SyntheticInputEvent<HTMLInputElement>) => {
_onPickupOrDropOffChange = (evt) => {
const selectedOptionValue: number = parseInt(evt.target.value, 10)
const {activePattern, index, updatePatternStops} = this.props
const patternStops = [...activePattern.patternStops]
Expand Down

0 comments on commit cb588be

Please sign in to comment.