Skip to content

Commit

Permalink
fix: add fallback name in select waypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
dukenv0307 committed Dec 28, 2023
1 parent 5e1c23b commit 84d47b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/iou/request/step/IOURequestStepWaypoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ function IOURequestStepWaypoint({
lat: values.lat,
lng: values.lng,
address: values.address,
name: values.name,
name: values.name || null,
};
Transaction.saveWaypoint(transactionID, pageIndex, waypoint, false);
Navigation.goBack(ROUTES.MONEY_REQUEST_CREATE_TAB_DISTANCE.getRoute(iouType, transactionID, reportID));
Expand Down

0 comments on commit 84d47b4

Please sign in to comment.