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

App component triggers "two children with the same key" warning #39694

Closed
Kamahl19 opened this issue Dec 20, 2022 · 0 comments · Fixed by #39695
Closed

App component triggers "two children with the same key" warning #39694

Kamahl19 opened this issue Dec 20, 2022 · 0 comments · Fixed by #39695

Comments

@Kamahl19
Copy link
Contributor

Reproduction link

Edit on CodeSandbox

Steps to reproduce

use App component

What is expected?

no warning

What is actually happening?

Warning: Encountered two children with the same key, holder.

Environment Info
antd 5.1.0
React 18.2.0
System osx
Browser chrome
Kamahl19 added a commit to Kamahl19/ant-design that referenced this issue Dec 20, 2022
@Kamahl19 Kamahl19 changed the title App component triggers "two children with the same key" warning fix: App triggers "two children with the same key" warning Dec 20, 2022
@Kamahl19 Kamahl19 changed the title fix: App triggers "two children with the same key" warning App component triggers "two children with the same key" warning Dec 20, 2022
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 a pull request may close this issue.

1 participant