Skip to content

Commit

Permalink
Simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
bentleyo committed Sep 17, 2024
1 parent f03cc5a commit f86e9fd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/vue-router/src/locationHistory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,9 +243,6 @@ export const createLocationHistory = () => {
const ri = locationHistory[i];
if (ri) {
if (ri.pathname === routeInfo.pushedByRoute) {
if (delta >= -1) {
return ri;
}
return locationHistory[i + 1 + delta]
}
}
Expand Down

0 comments on commit f86e9fd

Please sign in to comment.