Skip to content

Commit

Permalink
Merge pull request #270 from AkshataKatwal16/prod-fix-issue
Browse files Browse the repository at this point in the history
Issue feat: Add tstore value in stateDetails
  • Loading branch information
itsvick authored Oct 15, 2024
2 parents 56c9e1a + c77a192 commit 220102c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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
2 changes: 1 addition & 1 deletion src/pages/stateDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const StateDetails = () => {
<IconButton onClick={handleBackClick}>
<ArrowBackIcon />
</IconButton>
<Typography variant="h2">{card.state}</Typography>
<Typography variant="h2">{tStore.state}</Typography>
<Box sx={{ display: "flex", gap: 3, alignItems: "center" }}>
</Box>
</Box>
Expand Down

0 comments on commit 220102c

Please sign in to comment.