diff --git a/src/Components/CityCards.jsx b/src/Components/CityCards.jsx index 99e4091..c55f6d6 100644 --- a/src/Components/CityCards.jsx +++ b/src/Components/CityCards.jsx @@ -1,12 +1,14 @@ -const CityCard = ({ city, onClick }) => { - return ( -
-

{city}

-
- ) +function CityCard({ city, onClick, isSelected }) { + return ( +
+ {city} +
+ ) } export default CityCard