diff --git a/devU-client/src/components/pages/courses/courseDetailPage.tsx b/devU-client/src/components/pages/courses/courseDetailPage.tsx index 2f44308..d5ca19d 100644 --- a/devU-client/src/components/pages/courses/courseDetailPage.tsx +++ b/devU-client/src/components/pages/courses/courseDetailPage.tsx @@ -59,8 +59,6 @@ const CourseDetailPage = () => { setAlert({autoDelete: true, type: 'success', message: 'Course Dropped'}) history.push('/courses') - - }).catch((error: Error) => { const message = error.message