Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardoj committed Aug 2, 2024
1 parent 9027edf commit 0cc4205
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libs/actions/IOU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,9 @@ function buildOnyxDataForMoneyRequest(
value: {
pendingAction: null,
pendingFields: clearedPendingFields,
// The routes contains the distance in meters. Clearing the routes ensures we use the distance
// in the correct unit stored under the transaction customUnit once the request is created.
// The route is also not saved in the backend, so we can't rely on it.
routes: null,
},
},
Expand Down

0 comments on commit 0cc4205

Please sign in to comment.