From 5bf7829a7815786d24e16e819b7fe473e50dc0eb Mon Sep 17 00:00:00 2001 From: Akshata Katwal Date: Fri, 15 Nov 2024 14:35:50 +0530 Subject: [PATCH 1/2] Issue feat:Add statecode condition in district and replace language icon --- public/images/Language _icon.png | Bin 0 -> 1599 bytes src/components/layouts/header/Header.tsx | 17 ++++++++++++++--- src/pages/district.tsx | 1 + 3 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 public/images/Language _icon.png diff --git a/public/images/Language _icon.png b/public/images/Language _icon.png new file mode 100644 index 0000000000000000000000000000000000000000..f1ca8f91a9a9d626628960c90373712d86252728 GIT binary patch literal 1599 zcmV-F2Eh4=P)&EBG)6EK;d<`*xbHPDy?cK5&%QtJmHSAi*5^Ar_x11pJ)5Yc zq@<*zq@);Fl7pM|dfj@)Xpv2IN)dysw)uD0Bn_#?IjH%3y=fc9S2j_rLg~{d<1^=< z3#1{DdNjxD2OaV5Isa`@MmTQpI%!I%3-4GS#7os>WmNiB^Y_2He~@N`TA*DuE>jNT z0gEapNJ9bzg!MVe;tk3PR$*GYafk(0o0KmtWO>qzKmjeoZc^T$MAD2bs*<7US8VOv zSSbM+vD{*ATEr@(bELla#XXC5pP5tuHd&@4h?%4-QcXZ&j9p>|6@=l4NHjVA+@{4I z&38K8cGMY4xv)Ce2Myc!&hdszQAd^nhTwR^Vxv)Sg&m`u3r|hILN}IgQ4!qz@q1dB ze}_7q?cIHjCBh2ZLFXuEfw+iX?;#a|`{AwJqFQatySugTh5BUBIZC?l%FP>86phAS zI`-;}Z=X%Zp`hcH6cARZ5>_R6ppv?PA7B20%+3Sf_S4pHqFaPgq#GwCRRJN=?8!O# z{!??YUkBoC{rU^(K&k>BJ3ceib28S~R!Ij^6)?=okl~WJ@%o+rnShPPgey`QXV1Mw zaX~HSt;bX)H37xck2oe~(-(}#VJy`rrwU-vzSO#C#t z@yG%~44M0KWNs)cwu30LFOI{=8}*tNy?W5qX~&1F{G z>-A{q+73e;!_@NumlQ5EivepgzHtybw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- a/src/components/layouts/header/Header.tsx +++ b/src/components/layouts/header/Header.tsx @@ -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"; @@ -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} > - { onClick={handleClick} > - + + */} + + + + + { if (districtsOptionRead.length && districtNameArr.length) { + if(stateCode) getFilteredCohortData(); } }, [ From f05389ed54a1d4f73f8f237952a1f00dffb38dc1 Mon Sep 17 00:00:00 2001 From: Akshata Katwal Date: Fri, 15 Nov 2024 14:39:43 +0530 Subject: [PATCH 2/2] update pr --- .../{Language _icon.png => Language_icon.png} | Bin src/components/layouts/header/Header.tsx | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename public/images/{Language _icon.png => Language_icon.png} (100%) diff --git a/public/images/Language _icon.png b/public/images/Language_icon.png similarity index 100% rename from public/images/Language _icon.png rename to public/images/Language_icon.png diff --git a/src/components/layouts/header/Header.tsx b/src/components/layouts/header/Header.tsx index 66bb67f9..5612dcf1 100644 --- a/src/components/layouts/header/Header.tsx +++ b/src/components/layouts/header/Header.tsx @@ -10,7 +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 deleteIcon from '../../../../public/images/Language_icon.png'; import { useTranslation } from "next-i18next"; import { createTheme, useTheme } from "@mui/material/styles";