diff --git a/src/router/index.ts b/src/router/index.ts index f5bc276..86bd1da 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -33,7 +33,7 @@ const router = createRouter({ ] }); -router.beforeEach((to, from, next) => { +router.beforeEach((to, _, next) => { const authStore = useAuthStore(); if (to.meta.requiresAuth && !authStore.isAuthenticated) {