style: fix linting issues met Prettier

This commit is contained in:
Lint Action 2025-03-17 10:23:28 +00:00
parent 7b356c5ddd
commit d555144681

View file

@ -21,7 +21,7 @@ const router = createRouter({
path: "/",
name: "home",
component: () => import("../views/HomePage.vue"),
meta: {requiresAuth: false}
meta: { requiresAuth: false },
},
{
path: "/login",
@ -32,7 +32,7 @@ const router = createRouter({
{
path: "/callback",
component: CallbackPage,
meta: {requiresAuth: false}
meta: { requiresAuth: false },
},
{
@ -103,13 +103,12 @@ const router = createRouter({
path: "/:catchAll(.*)",
name: "NotFound",
component: NotFound,
meta: {requiresAuth: false}
meta: { requiresAuth: false },
},
],
});
router.beforeEach(async (to, from, next) => {
// Verify if user is logged in for paths that require access
if (to.meta.requiresAuth) {
if (!authState.isLoggedIn) {