Skip to content

Commit

Permalink
Merge pull request #39151 from DylanDylann/fix/39053
Browse files Browse the repository at this point in the history
Fix/39053: Distance- Blank space above waypoints when transitioning
  • Loading branch information
neil-marcellini authored Mar 29, 2024
2 parents d7a0870 + be21742 commit eeca1d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/iou/request/step/IOURequestStepDistance.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function IOURequestStepDistance({
const duplicateWaypointsError = useMemo(() => nonEmptyWaypointsCount >= 2 && _.size(validatedWaypoints) !== nonEmptyWaypointsCount, [nonEmptyWaypointsCount, validatedWaypoints]);
const atLeastTwoDifferentWaypointsError = useMemo(() => _.size(validatedWaypoints) < 2, [validatedWaypoints]);
const isEditing = action === CONST.IOU.ACTION.EDIT;
const isCreatingNewRequest = Navigation.getActiveRoute().includes('start');
const isCreatingNewRequest = !(backTo || isEditing);

useEffect(() => {
MapboxToken.init();
Expand Down

0 comments on commit eeca1d6

Please sign in to comment.