fix linter issue

Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
This commit is contained in:
Benny Samir Hierl 2022-02-20 12:31:05 +01:00
parent b75376453d
commit fb47f1441e
2 changed files with 2 additions and 2 deletions

2
components.d.ts vendored
View file

@ -37,4 +37,4 @@ declare module 'vue' {
}
}
export {}
export { }

View file

@ -49,7 +49,7 @@ const router = createRouter({
],
})
router.beforeEach((to, from) => {
router.beforeEach((to) => {
if (!isAuthenticated.value && to.meta.requiresAuth === true) {
return { name: 'login' }
}