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

Fix react warnings in timeline #3212

Merged
merged 1 commit into from
Dec 29, 2021
Merged

Conversation

blindpirate
Copy link
Contributor

Previously, there's a warning "Each child in a list should have
a unique key prop" in Timeline.render, because there's no databaseId
field in CommitEvent. In this case, we use CommitEvent.id instead.

Xnip2021-12-29_07-32-28

Xnip2021-12-29_07-52-05

Previously, there's a warning "Each child in a list should have
a unique key prop" in `Timeline.render`, because there's no `databaseId`
field in `CommitEvent`. In this case, we use `CommitEvent.id` instead.
@ghost
Copy link

ghost commented Dec 29, 2021

CLA assistant check
All CLA requirements met.

Copy link
Member

@alexr00 alexr00 left a comment

Choose a reason for hiding this comment

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

Looks good, thank you for fixing!

@alexr00 alexr00 added this to the January 2022 milestone Dec 29, 2021
@alexr00 alexr00 merged commit 0d07f86 into microsoft:main Dec 29, 2021
@blindpirate blindpirate deleted the fix-react-warning branch December 29, 2021 09:48
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.

2 participants