From 31079cc3cc4b669d100189ad1830c62d68c641fd Mon Sep 17 00:00:00 2001 From: MoonTestUse1 Date: Mon, 23 Dec 2024 22:11:48 +0600 Subject: [PATCH] - --- src/router/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {