Skip to content

Commit

Permalink
fix: request is loaded after removeRoutes() is called (#285) (h/t @Ha…
Browse files Browse the repository at this point in the history
  • Loading branch information
Hassan950 authored Dec 8, 2022
1 parent 2ef8d3f commit 700e581
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/actions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ export function clearOrigin() {
}

export function clearDestination() {
request.abort();
return dispatch => {
dispatch({
type: types.DESTINATION_CLEAR
Expand Down

0 comments on commit 700e581

Please sign in to comment.