diff --git a/src/pages/content-management/AddNewLessonPage.tsx b/src/pages/content-management/AddNewLessonPage.tsx index e272781..1f41850 100644 --- a/src/pages/content-management/AddNewLessonPage.tsx +++ b/src/pages/content-management/AddNewLessonPage.tsx @@ -1,5 +1,5 @@ import { useMemo, useState, type ChangeEvent } from "react" -import { ArrowLeft, ArrowRight, Check, GripVertical, Loader2, Plus, Rocket, Trash2, Upload } from "lucide-react" +import { ArrowLeft, ArrowRight, Check, GripVertical, Plus, Rocket, Trash2, Upload } from "lucide-react" import { Link, useLocation, useNavigate, useParams } from "react-router-dom" import { toast } from "sonner" import { addQuestionToSet, createLesson, createQuestion } from "../../api/courses.api" @@ -8,6 +8,7 @@ import { PracticeQuestionEditorFields } from "../../components/content-managemen import { Button } from "../../components/ui/button" import { Card } from "../../components/ui/card" import { Input } from "../../components/ui/input" +import { SpinnerIcon } from "../../components/ui/spinner-icon" import type { QuestionOption } from "../../types/course.types" type Step = 1 | 2 | 3 | 4 @@ -356,7 +357,7 @@ export function AddNewLessonPage() { />