Skip to content

Commit

Permalink
Add comment reset distance
Browse files Browse the repository at this point in the history
  • Loading branch information
dukenv0307 committed Jan 29, 2024
1 parent ac0db42 commit 6f77f82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/actions/Transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ function removeWaypoint(transaction: Transaction, currentIndex: string, isDraft:
// Clear the existing route so that we don't show an old route
routes: {
route0: {
// Clear the existing distance to recalculate next time
distance: null,
geometry: {
coordinates: null,
Expand Down

0 comments on commit 6f77f82

Please sign in to comment.