-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Обратная сторона реальности #5
Conversation
} | ||
|
||
function Cities({ offers }: CitiesProps): React.JSX.Element { | ||
const activeOfferId = useRef(NaN); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
useState
</ul> | ||
</form> | ||
<div className="cities__places-list places__list tabs__content"> | ||
{offers.map((card: TOfferCard) => ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OfferdCardType
className="reviews__form form" | ||
action="#" | ||
method="post" | ||
onSubmit={(e: FormEvent<HTMLFormElement>) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
большн одной строчки лучше в хендлер
[Routing.NotFound]: ['page__main--index'] | ||
}; | ||
|
||
export const RATES: string[] = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ratings
🎓 Обратная сторона реальности