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

🐾 Minor Update: Add key property to LevelSelector divs #28

Open
1 task done
TomBinford opened this issue Oct 27, 2022 · 0 comments
Open
1 task done

🐾 Minor Update: Add key property to LevelSelector divs #28

TomBinford opened this issue Oct 27, 2022 · 0 comments

Comments

@TomBinford
Copy link
Contributor

The LevelSelector component creates a list of divs by mapping over a dummy array. Because a key property is not present in the divs, React generates a warning. (I believe it's a performance concern.)

The fix is already implemented for the divs in the AxisSelector. Simply add a key property to the div created in the map lambda and set it to some unique value like i.

  • 👋 I may be able to implement this update request

This is a 🐾 Minor Update

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

No branches or pull requests

1 participant