Skip to content

Commit

Permalink
Issue feat: comment route rediredirection for learner count
Browse files Browse the repository at this point in the history
  • Loading branch information
AkshataKatwal16 committed Oct 15, 2024
1 parent bdadac9 commit c77a192
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/pages/centers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1002,9 +1002,10 @@ const response= await fetchCohortMemberList(data);


if (urlData) {
router.push(
`learners?state=${urlData.stateCode}&district=${urlData.districtCode}&block=${urlData.blockCode}&status=${urlData.type}`
);
// localStorage.setItem("selectedBlock", selectedBlock[0])
// router.push(
// `learners?state=${urlData.stateCode}&district=${urlData.districtCode}&block=${urlData.blockCode}&status=${urlData.type}`
// );
}

console.log("urlData", urlData);
Expand Down

0 comments on commit c77a192

Please sign in to comment.