Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
rayane-djouah committed Feb 10, 2024
1 parent b517b7b commit c9d74fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/DistanceRequest/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ function DistanceRequest({transactionID = '', report, transaction, route, isEdit
setOptimisticWaypoints(newWaypoints);
// eslint-disable-next-line rulesdir/no-thenable-actions-in-views
Promise.all([
// eslint-disable-next-line @typescript-eslint/non-nullable-type-assertion-style
TransactionUserActions.removeWaypoint(transaction as Transaction, emptyWaypointIndex.toString(), true),
TransactionUserActions.updateWaypoints(transactionID, newWaypoints, true),
]).then(() => {
Expand Down

0 comments on commit c9d74fc

Please sign in to comment.