Skip to content

Commit 0255029

Browse files
author
Rob Gregg
committed
fix(PatternStopCard.js): Attempt to fix flow error
#668
1 parent 4039af7 commit 0255029

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/editor/components/pattern/PatternStopCard.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ type Props = {
3737
index: number,
3838
isDragging: boolean,
3939
moveCard: (string, number) => void,
40-
onChange: () => void,
4140
patternEdited: boolean,
4241
patternStop: PatternStop,
4342
removeStopFromPattern: typeof stopStrategiesActions.removeStopFromPattern,
@@ -53,7 +52,7 @@ type Props = {
5352
title: string,
5453
updateActiveGtfsEntity: typeof activeActions.updateActiveGtfsEntity,
5554
updatePatternStops: typeof tripPatternActions.updatePatternStops,
56-
value: string
55+
value: string | number
5756
}
5857

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

321319
render () {

0 commit comments

Comments
 (0)