Skip to content

Commit

Permalink
Merge branch 'main' of github.com:tekdi/shiksha-admin
Browse files Browse the repository at this point in the history
  • Loading branch information
itsvick committed Aug 3, 2024
2 parents 71ffef1 + de40bea commit ca199c6
Show file tree
Hide file tree
Showing 11 changed files with 194 additions and 842 deletions.
324 changes: 0 additions & 324 deletions src/components/AddFacilitator.tsx

This file was deleted.

6 changes: 3 additions & 3 deletions src/components/AddNewCenters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const AddNewCenters: React.FC<AddLearnerModalProps> = ({
handleDistrictChangeWrapper,
handleBlockChangeWrapper,
handleCenterChangeWrapper,
selectedBlockFieldId,
selectedBlockCohortId,
dynamicFormForBlock,
} = useLocationState(open, onClose);

Expand Down Expand Up @@ -96,8 +96,8 @@ const AddNewCenters: React.FC<AddLearnerModalProps> = ({
) => {
const formData = data?.formData;

if (selectedBlockFieldId) {
const parentId = selectedBlockFieldId;
if (selectedBlockCohortId) {
const parentId = selectedBlockCohortId;
const cohortDetails: CohortDetails = {
name: formData.name,
type: CohortTypes.COHORT,
Expand Down
Loading

0 comments on commit ca199c6

Please sign in to comment.