Skip to content

Commit

Permalink
fix(PatternStopCard.js): Attempt to fix flow error
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Gregg committed Jul 3, 2021
1 parent 4039af7 commit 0255029
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/editor/components/pattern/PatternStopCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ type Props = {
index: number,
isDragging: boolean,
moveCard: (string, number) => void,
onChange: () => void,
patternEdited: boolean,
patternStop: PatternStop,
removeStopFromPattern: typeof stopStrategiesActions.removeStopFromPattern,
Expand All @@ -53,7 +52,7 @@ type Props = {
title: string,
updateActiveGtfsEntity: typeof activeActions.updateActiveGtfsEntity,
updatePatternStops: typeof tripPatternActions.updatePatternStops,
value: string
value: string | number
}

type State = {
Expand Down Expand Up @@ -315,7 +314,6 @@ class PatternStopContents extends Component<Props, State> {
patternStops[index][evt.target.id] = selectedOptionValue
this.setState({update: true})
updatePatternStops(activePattern, patternStops)
console.log('made it to here')
}

render () {
Expand Down

0 comments on commit 0255029

Please sign in to comment.