Skip to content

Commit

Permalink
clean up call taker settings
Browse files Browse the repository at this point in the history
  • Loading branch information
miles-grant-ibigroup committed Sep 28, 2023
1 parent 45d1356 commit 168e65f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/components/form/call-taker/advanced-options.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ export const StyledSubmodeSelector = styled(SubmodeSelector)`
${TripFormClasses.SubmodeSelector} {
${modeButtonButtonCss}
}
margin: 5px 0;
`

const metersToMiles = (meters) => Math.round(meters * 0.000621371 * 100) / 100
Expand Down Expand Up @@ -207,7 +209,7 @@ class AdvancedOptions extends Component {

const Select = lazy(() => import('react-select'))

const { bikeTolerance, modes: currentModes, walkReluctance } = currentQuery
const { modes: currentModes } = currentQuery
const bannedRoutes = this.getRouteList('banned')
const preferredRoutes = this.getRouteList('preferred')
const transitModes = modes.transitModes.map((modeObj) => {
Expand All @@ -223,7 +225,7 @@ class AdvancedOptions extends Component {
<div>
<div
style={{
alignItems: 'center',
alignItems: 'baseline',
display: 'flex',
justifyContent: 'space-between'
}}
Expand Down

0 comments on commit 168e65f

Please sign in to comment.