Skip to content

Commit

Permalink
Merge pull request #326 from AkshataKatwal16/relese-changes
Browse files Browse the repository at this point in the history
Issue feat:Add statecode condition in district and replace language icon
  • Loading branch information
itsvick authored Nov 15, 2024
2 parents c44b2be + f05389e commit a248441
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
Binary file added public/images/Language_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 14 additions & 3 deletions src/components/layouts/header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import TranslateIcon from "@mui/icons-material/Translate";
import Menu from "@mui/material/Menu";
import SearchBar from "./SearchBar";
import { useRouter } from "next/router";
import deleteIcon from '../../../../public/images/Language_icon.png';

import { useTranslation } from "next-i18next";
import { createTheme, useTheme } from "@mui/material/styles";
Expand Down Expand Up @@ -166,11 +167,13 @@ const Header = ({ sx, customClass, toggleMobileSidebar, position }: any) => {
alignItems: "center",
justifyContent: "center",
height: "20px",
width: "30px",
width: "45px",
borderRadius: "10px",
cursor: "pointer"
}}
onClick={handleClick}
>
<IconButton
{/* <IconButton
aria-label="more"
id="long-button"
aria-controls={open ? "long-menu" : undefined}
Expand All @@ -179,7 +182,15 @@ const Header = ({ sx, customClass, toggleMobileSidebar, position }: any) => {
onClick={handleClick}
>
<TranslateIcon />
</IconButton>
</IconButton> */}
<Image src={deleteIcon} alt=""
width={30}
/>




</Box>
<Menu
id="long-menu"
Expand Down
1 change: 1 addition & 0 deletions src/pages/district.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ const response= await getCohortList(reqParams)

useEffect(() => {
if (districtsOptionRead.length && districtNameArr.length) {
if(stateCode)
getFilteredCohortData();
}
}, [
Expand Down

0 comments on commit a248441

Please sign in to comment.