Skip to content

Commit

Permalink
Merge pull request Expensify#26730 from Pujan92/fix/26726
Browse files Browse the repository at this point in the history
Fix: Mobile distance confirmation screen initially starts on Atlantic City no matter what your start/finish destinations are
  • Loading branch information
Hayata Suenaga authored Sep 5, 2023
2 parents 99814d5 + 85b5b52 commit 6b1a667
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/ConfirmedRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ function ConfirmedRoute({mapboxAccessToken, transaction}) {
accessToken={mapboxAccessToken.token}
mapPadding={CONST.MAP_PADDING}
pitchEnabled={false}
initialState={{
zoom: CONST.MAPBOX.DEFAULT_ZOOM,
location: lodashGet(waypointMarkers, [0, 'coordinate'], CONST.MAPBOX.DEFAULT_COORDINATE),
}}
directionCoordinates={coordinates}
style={styles.mapView}
waypoints={waypointMarkers}
Expand Down

0 comments on commit 6b1a667

Please sign in to comment.