style: fix linting issues met Prettier

This commit is contained in:
Lint Action 2025-04-22 09:12:11 +00:00
parent 2578555ace
commit 868c5d9afe
2 changed files with 4 additions and 3 deletions

View file

@ -138,7 +138,7 @@ const router = createRouter({
router.beforeEach(async (to, _from, next) => {
// Verify if user is logged in before accessing certain routes
if (to.meta.requiresAuth) {
if (!authService.isLoggedIn.value && !await authService.loadUser()) {
if (!authService.isLoggedIn.value && !(await authService.loadUser())) {
next("/login");
} else {
next();