From d5fc32f79e3bd1b64d092fc674204de8191d4beb Mon Sep 17 00:00:00 2001 From: Arif-tekdi-technologies Date: Sat, 23 Nov 2024 15:37:33 +0530 Subject: [PATCH] Issue #000 Bug: Course Planner Fixes and improvements --- src/components/ManageCentersModal.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/ManageCentersModal.tsx b/src/components/ManageCentersModal.tsx index 2d81c903..fcb18954 100644 --- a/src/components/ManageCentersModal.tsx +++ b/src/components/ManageCentersModal.tsx @@ -15,6 +15,7 @@ import Typography from '@mui/material/Typography'; import { useTheme } from '@mui/material/styles'; import { useTranslation } from 'next-i18next'; import reassignLearnerStore from '@/store/reassignLearnerStore'; +import { toPascalCase } from '@/utils/Helper'; interface ManageUsersModalProps { open: boolean; @@ -185,7 +186,7 @@ const ManageCentersModal: React.FC = ({ pb: '20px', }} > - {center?.name} + {toPascalCase(center?.name)} {isForLearner ? (