Skip to content

Commit

Permalink
Resolved comments and updated PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Rushikesh-Sonawane99 committed Jun 19, 2024
1 parent 1960fb7 commit b728bbe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<boolean>(false);
const [userData, setUserData] = React.useState<{}[]>();
const { t } = useTranslation();
Expand Down Expand Up @@ -73,4 +73,4 @@ const DisplayLearnerList = () => {
);
};

export default DisplayLearnerList;
export default CohortLearnerList;
4 changes: 2 additions & 2 deletions src/pages/centers/[cohortId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -128,7 +128,7 @@ const TeachingCenterDetails = () => {
/>
</Box>
<Box>
<DisplayLearnerList/>
<CohortLearnerList/>
</Box>
</>
)}
Expand Down

0 comments on commit b728bbe

Please sign in to comment.