diff --git a/src/containers/course-section/CourseSectionContainer.tsx b/src/containers/course-section/CourseSectionContainer.tsx index eacec727f7..781920c961 100644 --- a/src/containers/course-section/CourseSectionContainer.tsx +++ b/src/containers/course-section/CourseSectionContainer.tsx @@ -1,4 +1,4 @@ -import { useState, ChangeEvent, FC } from 'react' +import { useState, ChangeEvent, FC, Dispatch, SetStateAction } from 'react' import { useTranslation } from 'react-i18next' import { MenuItem } from '@mui/material' import Box from '@mui/material/Box' @@ -25,6 +25,7 @@ import { interface SectionProps { sectionData: CourseSection + setSectionsItems: Dispatch> } type openModalFunc = () => void diff --git a/src/containers/course-sections-list/CourseSectionsList.tsx b/src/containers/course-sections-list/CourseSectionsList.tsx index 2303a94118..448cb0323a 100644 --- a/src/containers/course-sections-list/CourseSectionsList.tsx +++ b/src/containers/course-sections-list/CourseSectionsList.tsx @@ -64,7 +64,10 @@ const CourseSectionsList: FC = ({ {...provided.draggableProps} {...provided.dragHandleProps} > - + )}