remove default value for handle filter list city by data in url
This commit is contained in:
@@ -11,8 +11,7 @@ import Content from "./Content";
|
||||
|
||||
function ModalSearchCity({ children, selected, setSelected, open, setOpen }) {
|
||||
const provinceSelected = selected.province;
|
||||
// const hostName = window.location.host;
|
||||
const hostName = "urmia-nobat.ir";
|
||||
const hostName = window.location.host;
|
||||
const isProvinceInclude = citiesData.find(
|
||||
(city) => city.domain !== "nobat724.com" && hostName.includes(city.domain)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user