From c04b13c555b23df6efecc8dea42db81020cc41f8 Mon Sep 17 00:00:00 2001 From: Lint Action Date: Tue, 20 May 2025 09:34:58 +0000 Subject: [PATCH] style: fix linting issues met Prettier --- frontend/src/components/QuestionBox.vue | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/QuestionBox.vue b/frontend/src/components/QuestionBox.vue index ef021793..c582149d 100644 --- a/frontend/src/components/QuestionBox.vue +++ b/frontend/src/components/QuestionBox.vue @@ -2,7 +2,7 @@ import authService from "@/services/auth/auth-service.ts"; import { Language } from "@/data-objects/language.ts"; import { computed, type ComputedRef, ref } from "vue"; - import type { GroupDTOId } from "@dwengo-1/common/interfaces/group"; + import type { GroupDTOId } from "@dwengo-1/common/interfaces/group"; import type { QuestionData } from "@dwengo-1/common/interfaces/question"; import type { LearningObjectIdentifierDTO } from "@dwengo-1/interfaces/learning-content"; import { useCreateQuestionMutation } from "@/queries/questions.ts"; @@ -29,9 +29,7 @@ })); const createQuestionMutation = useCreateQuestionMutation(loID); - const showQuestionBox = computed( - () => authService.authState.activeRole === AccountType.Student && props.forGroup, - ); + const showQuestionBox = computed(() => authService.authState.activeRole === AccountType.Student && props.forGroup); function submitQuestion(): void { if (props.forGroup && questionInput.value !== "") {