Skip to content

Commit

Permalink
fix(feature): Remove feature conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorgerhardt committed Mar 13, 2017
1 parent 3e999bc commit 2d55e0c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import lonlat from '@conveyal/lonlat'
import isEqual from 'lodash.isequal'
import React, {Component, PropTypes} from 'react'

import featureToLabel from '../utils/feature-to-label'
import Form from './form'
import Fullscreen from './fullscreen'
import Icon from './icon'
Expand Down Expand Up @@ -114,7 +113,7 @@ export default class Application extends Component {
const {geometry} = feature

this._setStart({
label: featureToLabel(feature),
label: feature.properties.label,
latlng: geometry.coordinates
})
}
Expand Down Expand Up @@ -145,7 +144,7 @@ export default class Application extends Component {
const {geometry} = feature

this._setEnd({
label: featureToLabel(feature),
label: feature.properties.label,
latlng: geometry.coordinates
})
}
Expand Down

0 comments on commit 2d55e0c

Please sign in to comment.