diff --git a/src/components/courses/ManageCoursePage.js b/src/components/courses/ManageCoursePage.js
index 455eb97..723b710 100644
--- a/src/components/courses/ManageCoursePage.js
+++ b/src/components/courses/ManageCoursePage.js
@@ -25,7 +25,22 @@ function ManageCoursePage({ courses, authors, actions, ...props }) {
}
}, []);
- return ;
+ function handleChange(event) {
+ const { name, value } = event.target;
+ setCourse((prevCourse) => ({
+ ...prevCourse,
+ [name]: name === "authorId" ? parseInt(value, 10) : value
+ }));
+ }
+
+ return (
+
+ );
}
ManageCoursePage.propTypes = {