mirror of
https://github.com/ThisIsBenny/wishlist-app.git
synced 2025-06-07 05:57:41 +00:00
fix linter issue
Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
This commit is contained in:
parent
b75376453d
commit
fb47f1441e
2 changed files with 2 additions and 2 deletions
2
components.d.ts
vendored
2
components.d.ts
vendored
|
@ -37,4 +37,4 @@ declare module 'vue' {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export {}
|
export { }
|
||||||
|
|
|
@ -49,7 +49,7 @@ const router = createRouter({
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
|
|
||||||
router.beforeEach((to, from) => {
|
router.beforeEach((to) => {
|
||||||
if (!isAuthenticated.value && to.meta.requiresAuth === true) {
|
if (!isAuthenticated.value && to.meta.requiresAuth === true) {
|
||||||
return { name: 'login' }
|
return { name: 'login' }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue