diff --git a/src/components/Forms/CourseForm/CourseForm.tsx b/src/components/Forms/CourseForm/CourseForm.tsx index bc39571..530b5f1 100644 --- a/src/components/Forms/CourseForm/CourseForm.tsx +++ b/src/components/Forms/CourseForm/CourseForm.tsx @@ -31,6 +31,7 @@ export type InputFields = { image?: File | undefined; category_id: string; description: string; + education_description: string | null; teacher_id: string; }; @@ -84,6 +85,7 @@ const CourseForm: React.FC = ({ onSubmit, buttonLabel, isLo const watchTitle = watch('title'); const watchDescription = watch('description'); + const watchEducationDescription = watch('education_description'); return (
@@ -117,6 +119,26 @@ const CourseForm: React.FC = ({ onSubmit, buttonLabel, isLo + + What you'll learn section +