diff --git a/apps/web/src/components/models/course/detail/CourseDetailDisplayArea.tsx b/apps/web/src/components/models/course/detail/CourseDetailDisplayArea.tsx index 1a6a7b8..b5aed44 100755 --- a/apps/web/src/components/models/course/detail/CourseDetailDisplayArea.tsx +++ b/apps/web/src/components/models/course/detail/CourseDetailDisplayArea.tsx @@ -27,7 +27,7 @@ export const CourseDetailDisplayArea: React.FC = () => { {lectureIsLoading && ( )} - {!selectedLectureId && ( + {!selectedLectureId && !lectureIsLoading && ( <>
@@ -36,20 +36,23 @@ export const CourseDetailDisplayArea: React.FC = () => {
)} - {!lectureIsLoading && lecture?.meta?.type === LectureType.VIDEO && ( -
- -
- -
-
-
- )} + {selectedLectureId && + !lectureIsLoading && + lecture?.meta?.type === LectureType.VIDEO && ( +
+ +
+ +
+
+
+ )} {!lectureIsLoading && + selectedLectureId && lecture?.meta?.type === LectureType.ARTICLE && (