Skip to content
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

Merged
merged 3 commits into from
Nov 12, 2024

Conversation

stas2nd
Copy link

@stas2nd stas2nd commented Nov 12, 2024

@keksobot keksobot changed the title 4.21. Обратная сторона реальности Обратная сторона реальности Nov 12, 2024
}

function Cities({ offers }: CitiesProps): React.JSX.Element {
const activeOfferId = useRef(NaN);
Copy link

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) => (
Copy link

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>) => {
Copy link

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[] = [
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ratings

@keksobot keksobot merged commit 9b9b6e0 into htmlacademy-react:master Nov 12, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants