Skip to content

Bugfix - Put key on top level container#1332

Open
TezzardzGoneWild wants to merge 3739 commits intohicetnunc2000:mainfrom
TezzardzGoneWild:bugfix/fix-key-mapping
Open

Bugfix - Put key on top level container#1332
TezzardzGoneWild wants to merge 3739 commits intohicetnunc2000:mainfrom
TezzardzGoneWild:bugfix/fix-key-mapping

Conversation

@TezzardzGoneWild
Copy link
Contributor

Two functions mapping arrays to HTML elements had the key on one of the children instead of the parent -- React wants keys on the topmost element when something is mapped.

This has no impact on the end user, but is safer and will prevent errors in the console.

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.