+
-
- {index}
- {title}
-
+
{#if !hideGrading}
diff --git a/apps/dashboard/src/lib/components/Question/TextareaQuestion/index.svelte b/apps/dashboard/src/lib/components/Question/TextareaQuestion/index.svelte
index f6745553..04931121 100644
--- a/apps/dashboard/src/lib/components/Question/TextareaQuestion/index.svelte
+++ b/apps/dashboard/src/lib/components/Question/TextareaQuestion/index.svelte
@@ -7,14 +7,13 @@
import Grade from '$lib/components/Question/Grade.svelte';
import { t } from '$lib/utils/functions/translations';
import ReasonBox from '../ReasonBox.svelte';
- import { course } from '$lib/components/Course/store';
- import { COURSE_TYPE } from '$lib/utils/types';
+ import QuestionTitle from '../QuestionTitle.svelte';
export let title = '';
export let index = 1;
export let code = '';
export let name = '';
- export let onSubmit = () => {};
+ export let onSubmit = (a: string, b: string) => {};
export let onPrevious = () => {};
export let defaultValue = '';
export let disablePreviousButton = false;
@@ -51,19 +50,14 @@
grade = 0;
}
- $: {
- gradeWithAI = isGradeWithAI;
- }
+ $: gradeWithAI = isGradeWithAI;