diff --git a/frontend/src/views/learning-paths/LearningPathPage.vue b/frontend/src/views/learning-paths/LearningPathPage.vue index 8d59acb4..9ab66631 100644 --- a/frontend/src/views/learning-paths/LearningPathPage.vue +++ b/frontend/src/views/learning-paths/LearningPathPage.vue @@ -183,6 +183,7 @@ import type { GroupDTO } from "@dwengo-1/common/interfaces/group"; createQuestionMutation.mutate(questionData, { onSuccess: () => { questionInput.value = ""; // Clear the input field after submission + getQuestionsQuery.refetch(); // Reload the questions }, onError: (e) => { console.error(e)