Skip to content

Commit

Permalink
Merge pull request #12 from garethredfern/feature/auth-refactor
Browse files Browse the repository at this point in the history
Fix code indent
  • Loading branch information
garethredfern committed Feb 14, 2021
2 parents bde0a6d + 83afe18 commit 2a11a36
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ const router = new VueRouter({
mode: "history",
routes,
scrollBehavior(to, from, savedPosition) {
if (savedPosition) {
return savedPosition
} else {
return { x: 0, y: 0 }
}
}
if (savedPosition) {
return savedPosition;
} else {
return { x: 0, y: 0 };
}
},
});

router.beforeEach((to, from, next) => {
Expand Down

0 comments on commit 2a11a36

Please sign in to comment.