From 2d8dd46d150704caae559cd65e961c5ebea9b2f0 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Wed, 15 Jan 2025 20:09:56 +0000 Subject: [PATCH] fix: remove console --- src/router/index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/router/index.js b/src/router/index.js index 8bad5e397..226e92c61 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -46,7 +46,6 @@ export { Router }; export default defineRouter(function (/* { store, ssrContext } */) { const state = useState(); Router.beforeEach(async (to, from, next) => { - console.error('beforeEach', session); if (!session) session = useSession(); const outLayout = Router.options.routes[0].children.map((r) => r.name); if (!session.isLoggedIn() && !outLayout.includes(to.name)) {