Skip to content

Commit

Permalink
Use a noop abortController for the very first visit.
Browse files Browse the repository at this point in the history
  • Loading branch information
jho406 committed Jul 17, 2021
1 parent 128f278 commit e3ea4f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion breezy/lib/action_creators/requests.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ export function remote(
}
}

let lastVisitController = new AbortController()
let lastVisitController = {
abort: () => {},
}

export function visit(
path,
Expand Down

0 comments on commit e3ea4f8

Please sign in to comment.