diff --git a/.github/workflows/pratham-aws-deployment.yaml b/.github/workflows/pratham-aws-deployment.yaml deleted file mode 100644 index 7cae7b3d..00000000 --- a/.github/workflows/pratham-aws-deployment.yaml +++ /dev/null @@ -1,20 +0,0 @@ -name: Deploy to Pratham-DEV-Deployment on Prahtam-AWS -on: - push: - branches: - - june15-pilot -jobs: - deploy: - runs-on: ubuntu-latest - timeout-minutes: 15 - steps: - - name: Deploy Stack - uses: appleboy/ssh-action@master - with: - host: ${{ secrets.HOST_NAME_PRATHAM_AWS }} - username: ${{ secrets.USERNAME_PRATHAM_AWS }} - key: ${{ secrets.EC2_SSH_KEY_PRATHAM_AWS }} - port: ${{ secrets.PORT_PRATHAM_AWS }} - script: | - cd ${{ secrets.TARGET_DIR_PRATHAM_AWS }} - ./deploy.sh diff --git a/.github/workflows/prathamscp-dev.yml b/.github/workflows/pratham-dev-server-deployment.yaml similarity index 100% rename from .github/workflows/prathamscp-dev.yml rename to .github/workflows/pratham-dev-server-deployment.yaml diff --git a/src/components/CohortFacilitatorList.tsx b/src/components/CohortFacilitatorList.tsx index 17e80256..7efd6005 100644 --- a/src/components/CohortFacilitatorList.tsx +++ b/src/components/CohortFacilitatorList.tsx @@ -5,7 +5,7 @@ import { getFieldValue, toPascalCase, } from '@/utils/Helper'; -import LearnersList from '@/components/LearnersList'; +import LearnersList from '@/components/LearnersListItem'; import { Status, limit } from '@/utils/app.constant'; import { showToastMessage } from './Toastify'; import { useTranslation } from 'next-i18next'; diff --git a/src/components/CohortLearnerList.tsx b/src/components/CohortLearnerList.tsx index 4534aa6a..047b6b76 100644 --- a/src/components/CohortLearnerList.tsx +++ b/src/components/CohortLearnerList.tsx @@ -5,7 +5,7 @@ import { getFieldValue, toPascalCase, } from '@/utils/Helper'; -import LearnersList from '@/components/LearnersList'; +import LearnersListItem from '@/components/LearnersListItem'; import { Status, limit } from '@/utils/app.constant'; import { showToastMessage } from './Toastify'; import { useTranslation } from 'next-i18next'; @@ -84,7 +84,7 @@ const CohortLearnerList: React.FC = ({ <> {userData?.map((data: any) => { return ( - void; } const DeleteUserModal: React.FC = ({ - deleteFacilitatorId, + userId, open, onClose, }) => { @@ -67,7 +67,7 @@ const DeleteUserModal: React.FC = ({ reason: selectedValue, }; - const response = await updateFacilitator(deleteFacilitatorId, userData); + const response = await updateFacilitator(userId, userData); console.log(response); diff --git a/src/components/DynamicForm.tsx b/src/components/DynamicForm.tsx index 252e2ecf..c35c9dd0 100644 --- a/src/components/DynamicForm.tsx +++ b/src/components/DynamicForm.tsx @@ -156,7 +156,7 @@ const DynamicForm: React.FC = ({ {showTwoButtons ? ( <>