diff --git a/src/components/cities-list.tsx b/src/components/cities-list.tsx index 8b7417e..db071b8 100644 --- a/src/components/cities-list.tsx +++ b/src/components/cities-list.tsx @@ -3,6 +3,7 @@ import { CITIES } from '../consts/cities.ts'; import { City } from '../dataTypes/city.ts'; import { useAppDispatch } from '../store/store.ts'; import { changeCity } from '../store/offers/offers.slice.ts'; +import { fetchOffers } from '../store/async-actions.ts'; interface CitiesListProps { activeCityName: string; @@ -25,7 +26,10 @@ function CitiesListImpl({ ) : (