diff --git a/src/features/Courses/CoursesDetailPage/index.jsx b/src/features/Courses/CoursesDetailPage/index.jsx index 7e42c02..f44b011 100644 --- a/src/features/Courses/CoursesDetailPage/index.jsx +++ b/src/features/Courses/CoursesDetailPage/index.jsx @@ -12,7 +12,7 @@ import LinkWithQuery from 'features/Main/LinkWithQuery'; import CourseDetailTable from 'features/Courses/CourseDetailTable'; import { fetchClassesData } from 'features/Classes/data/thunks'; -import { fetchCoursesData, fetchCoursesOptionsData } from 'features/Courses/data/thunks'; +import { fetchCoursesOptionsData } from 'features/Courses/data/thunks'; import { fetchClassesDataSuccess, updateCurrentPage as updateClassesCurrentPage } from 'features/Classes/data/slice'; import { fetchCoursesDataSuccess, updateCurrentPage } from 'features/Courses/data/slice'; @@ -60,7 +60,6 @@ const CoursesDetailPage = () => { if (institution.id) { dispatch(fetchClassesData(institution.id, initialPage, courseIdDecoded)); - dispatch(fetchCoursesData(institution.id, initialPage, null)); dispatch(fetchCoursesOptionsData(institution.id)); }