diff --git a/components.d.ts b/components.d.ts index e81d392..689faee 100644 --- a/components.d.ts +++ b/components.d.ts @@ -37,4 +37,4 @@ declare module 'vue' { } } -export {} +export { } diff --git a/src/router/index.ts b/src/router/index.ts index 9b892ec..b081eb2 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -49,7 +49,7 @@ const router = createRouter({ ], }) -router.beforeEach((to, from) => { +router.beforeEach((to) => { if (!isAuthenticated.value && to.meta.requiresAuth === true) { return { name: 'login' } }