The Drop down component is not shown : i am filtering certain cities into "citiesList" and then mapping them into dropdown component but the filter is done but map part is not excetued.

    citySearched= (cities,city)=>{
          let citiesList= [...cities];
          citiesList= citiesList.filter(c => c.name.toLowerCase().includes(city.toLowerCase()))
          .map(c => (<DropDown key= {c.id} citySearch= {c.name}/>));
          console.log(citiesList,city);
        }