fix: remove unnecessary console log

This commit is contained in:
Lin, Hung-Shin committed 2023-10-05 14:22:47 +08:00
1 parent 72b2711367
commit 50bed23d37
8 files changed
+2 -14

No files matched your search

-1
View File
@@ -28,7 +28,6 @@ const router = createRouter({
})
router.beforeEach(async (to, from, next) => {
console.log(to, from)
const loggedIn = await isLoggedIn()
// Check if the route requires authentication
if (to.meta.requiresAuth && !loggedIn) {