Skip to content

Commit

Permalink
пытаюсь починить ошибку билда
Browse files Browse the repository at this point in the history
  • Loading branch information
uniks0 committed Nov 5, 2024
1 parent 75546e7 commit 8a5d61b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/pages/MainScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function MainScreen({ placesCount, offers }: MainScreenProps) {
</ul>
</form>
<div className="cities__places-list places__list tabs__content">
<OffersList offers={offers} listType='default'/>
<OffersList offers={offers} listType={'default'}/>

Check failure on line 126 in src/components/pages/MainScreen.tsx

View workflow job for this annotation

GitHub Actions / build

Type '{ offers: OffersType[]; listType: string; }' is not assignable to type 'IntrinsicAttributes & OffersListProps'.
</div>
</section>
<div className="cities__right-section">
Expand Down

0 comments on commit 8a5d61b

Please sign in to comment.