Skip to content

Commit

Permalink
fix(set-from-to): Removed extra line.
Browse files Browse the repository at this point in the history
  • Loading branch information
binh-dam-ibigroup committed Feb 13, 2020
1 parent 6f16c83 commit cce4340
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/components/map/base-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class BaseMap extends Component {
setMapPopupLocation({ location: null })
setLocation({ type, location, reverseGeocode: true })
if (typeof this.props.onSetLocation === 'function') {
this.props.onSetLocation({type, location})
this.props.onSetLocation({ type, location })
}
}

Expand Down
1 change: 0 additions & 1 deletion lib/components/map/set-from-to.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React, { Component } from 'react'

import FromToLocationPicker from '@opentripplanner/from-to-location-picker'


export default class SetFromToButtons extends Component {
_setLocation = (type) => {
this.props.setLocation({
Expand Down

0 comments on commit cce4340

Please sign in to comment.