style: fix linting issues met Prettier

This commit is contained in:
Lint Action 2025-05-14 09:42:34 +00:00
parent 964eaf928e
commit bdd102b937
3 changed files with 14 additions and 6 deletions

View file

@ -143,7 +143,7 @@ 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())) {
const path = to.fullPath
const path = to.fullPath;
if (path !== "/") {
localStorage.setItem("redirectAfterLogin", path);
}