+
-
Add New Activity
-
{selectedView === "home" && (
- {setSelectedView("dynamic")}}>✨📄
- {setSelectedView("video")}}>📹
+ { setSelectedView("dynamic") }}>✨📄
+ { setSelectedView("video") }}>📹
)}
@@ -33,8 +31,8 @@ function NewActivityModal({ closeModal, submitActivity, submitFileActivity, chap
{selectedView === "video" && (
)}
-
-
+
+
);
}
diff --git a/front/components/Modals/CourseEdit/NewChapter.tsx b/front/components/Modals/CourseEdit/NewChapter.tsx
index 1910ebde..aa7549ca 100644
--- a/front/components/Modals/CourseEdit/NewChapter.tsx
+++ b/front/components/Modals/CourseEdit/NewChapter.tsx
@@ -20,13 +20,13 @@ function NewChapterModal({ submitChapter , closeModal }: any) {
};
return (
-