Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
It's extracted to util file but the origin was left behind.
  • Loading branch information
nanaya committed Oct 24, 2024
1 parent ea54ae5 commit f4d9ad9
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/core/drive/visit.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,16 +386,6 @@ export class Visit {

// Private

getHistoryMethodForAction(action) {
switch (action) {
case "replace":
return history.replaceState
case "advance":
case "restore":
return history.pushState
}
}

hasPreloadedResponse() {
return typeof this.response == "object"
}
Expand Down

0 comments on commit f4d9ad9

Please sign in to comment.