diff --git a/src/components/LearnerList.tsx b/src/components/CohortLearnerList.tsx similarity index 97% rename from src/components/LearnerList.tsx rename to src/components/CohortLearnerList.tsx index f744a738..42111ec1 100644 --- a/src/components/LearnerList.tsx +++ b/src/components/CohortLearnerList.tsx @@ -10,7 +10,7 @@ import { limit } from '@/utils/app.constant'; import { showToastMessage } from './Toastify'; import { useTranslation } from 'next-i18next'; -const DisplayLearnerList = () => { +const CohortLearnerList = () => { const [loading, setLoading] = React.useState(false); const [userData, setUserData] = React.useState<{}[]>(); const { t } = useTranslation(); @@ -73,4 +73,4 @@ const DisplayLearnerList = () => { ); }; -export default DisplayLearnerList; +export default CohortLearnerList; diff --git a/src/pages/centers/[cohortId].tsx b/src/pages/centers/[cohortId].tsx index 19af6746..5c1dd9c5 100644 --- a/src/pages/centers/[cohortId].tsx +++ b/src/pages/centers/[cohortId].tsx @@ -13,7 +13,7 @@ import { useTheme } from '@mui/material/styles'; import { useTranslation } from 'next-i18next'; import { useRouter } from 'next/router'; import { GetStaticPaths } from 'next'; -import DisplayLearnerList from '@/components/LearnerList'; +import CohortLearnerList from '@/components/CohortLearnerList'; const TeachingCenterDetails = () => { const [value, setValue] = React.useState(1); @@ -128,7 +128,7 @@ const TeachingCenterDetails = () => { /> - + )}