From 1c452eab8676b192e03cc76ea5d705606981a6ed Mon Sep 17 00:00:00 2001 From: Elias Crum Date: Tue, 8 Oct 2024 14:56:34 +0200 Subject: [PATCH] removed console.log statements --- src/router.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/router.ts b/src/router.ts index 90c8f97..713312f 100644 --- a/src/router.ts +++ b/src/router.ts @@ -70,7 +70,6 @@ const router = createRouter({ setTimeout(() => { router.beforeEach(async (to, from) => { // make sure the user is authenticated - console.log(from, ' --> ', to) if (!isLoggedin() && to.name !== "Login Page" && from.name === "Home") { return { name: "Login Page" }; } else if (!isLoggedin() && to.name === "Home" && from.name !== "Login Page") {