Skip to content

Commit

Permalink
Merge pull request #32932 from Pujan92/fix/32908
Browse files Browse the repository at this point in the history
Fix: IOU-Unable to create distance request after deleting finish waypoint, error displayed
(cherry picked from commit 8e0bf44)
  • Loading branch information
Gonals authored and OSBotify committed Dec 12, 2023
1 parent 82183c0 commit 26d35ab
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pages/iou/WaypointEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ WaypointEditor.defaultProps = defaultProps;
export default withOnyx({
transaction: {
key: ({route}) => `${ONYXKEYS.COLLECTION.TRANSACTION}${lodashGet(route, 'params.transactionID')}`,
selector: (transaction) => (transaction ? {transactionID: transaction.transactionID, comment: {waypoints: lodashGet(transaction, 'comment.waypoints')}} : null),
},
recentWaypoints: {
key: ONYXKEYS.NVP_RECENT_WAYPOINTS,
Expand Down

0 comments on commit 26d35ab

Please sign in to comment.