style: fix linting issues met Prettier
This commit is contained in:
		
							parent
							
								
									7b356c5ddd
								
							
						
					
					
						commit
						d555144681
					
				
					 1 changed files with 12 additions and 13 deletions
				
			
		|  | @ -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) { | ||||
|  |  | |||
		Reference in a new issue
	
	 Lint Action
						Lint Action