Skip to content

Commit

Permalink
testcheck2
Browse files Browse the repository at this point in the history
  • Loading branch information
hanimohammad committed Dec 21, 2024
1 parent 9b3f166 commit b69c223
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/CityList/CityList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ export const ListCities: React.FC<CitiesListProps> = ({
cities,
onSelect,
}) => (
<ul className="locations__list tabs__list" data-testid='location_item'>
<ul className="locations__list tabs__list">
{cities.map((city) => (
<li
className="locations__item"
data-testid='location_item'
key={city.title}
onClick={() => {
onSelect(city.title);
Expand Down

0 comments on commit b69c223

Please sign in to comment.