Skip to content

Commit

Permalink
Added confirmation popup in the coursedetails to confirm the action o…
Browse files Browse the repository at this point in the history
…f the course being dropped
  • Loading branch information
ashwaqaljanahi2021 committed Sep 18, 2024
1 parent 1129838 commit 06cfe62
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions devU-client/src/components/pages/courses/courseDetailPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ const CourseDetailPage = () => {

setAlert({autoDelete: true, type: 'success', message: 'Course Dropped'})
history.push('/courses')



}).catch((error: Error) => {
const message = error.message
Expand Down

0 comments on commit 06cfe62

Please sign in to comment.