diff --git a/src/components/Offer/Offer.tsx b/src/components/Offer/Offer.tsx index 7bcf49a..efc208a 100644 --- a/src/components/Offer/Offer.tsx +++ b/src/components/Offer/Offer.tsx @@ -5,12 +5,7 @@ import { ReviewList } from '../Reviews/ReviewList'; //import { offers } from '../../mock/offers'; import { OtherPlacesNearby } from '../OtherPlacesNearby/OtherPlacesNearby'; import Map from '../Map/Map'; -import { - AppRoute, - UserReview, - OfferObject, - City, -} from '../../types/types'; +import { AppRoute, UserReview, OfferObject, City } from '../../types/types'; type OfferProps = { reviews: UserReview[]; offers: OfferObject[]; @@ -192,10 +187,7 @@ export const Offer: React.FC = ({

- +
@@ -203,6 +195,7 @@ export const Offer: React.FC = ({ offers={[...offers]} selectedPoint={offers[1]} currentCity={currentCity} + activeOffer={offers[1].id} />