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

Bugfix - Put key on top level container #1332

Open
wants to merge 3,739 commits into
base: main
Choose a base branch
from

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.