Skip to content

Commit

Permalink
fix: access_token exception
Browse files Browse the repository at this point in the history
  • Loading branch information
arranf committed Jun 27, 2021
1 parent 5f06710 commit f76d665
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,19 +171,6 @@ const router = new Router({
mode: "history",
linkActiveClass: "active",
routes,
scrollBehavior(to, _from, savedPosition) {
if (to.hash) {
return {
selector: to.hash,
behavior: "smooth",
};
}
if (savedPosition) {
return savedPosition;
} else {
return { x: 0, y: 0 };
}
},
});

function initStore() {
Expand Down

0 comments on commit f76d665

Please sign in to comment.