style: fix linting issues met Prettier

This commit is contained in:
Lint Action 2025-03-25 21:46:03 +00:00
parent fbfe54879a
commit 0661e705b3
15 changed files with 225 additions and 190 deletions

View file

@ -1,8 +1,8 @@
<script setup lang="ts">
import auth from "@/services/auth/auth-service.ts";
import MenuBar from "@/components/MenuBar.vue";
import {useRoute} from "vue-router";
import {computed} from "vue";
import { useRoute } from "vue-router";
import { computed } from "vue";
const route = useRoute();
auth.loadUser();
@ -11,10 +11,7 @@
requiresAuth?: boolean;
}
const showMenuBar = computed(() =>
(route.meta as RouteMeta).requiresAuth
&& auth.authState.user
)
const showMenuBar = computed(() => (route.meta as RouteMeta).requiresAuth && auth.authState.user);
</script>
<template>