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 minor warnings on the PopoverList component #97

Merged
merged 2 commits into from
Aug 4, 2024
Merged

Conversation

lebaudantoine
Copy link
Collaborator

Purpose

Fix warnings on the popoverlist component.

Proposal

Close #91
Please check commits for more information.

Oupsi, found a typo and fixed it.
Close issue #91. Each <li> element in a list should have a unique key
to avoid React warnings.

Added unique keys to 'popover' items. Although the 'lang' keys are generated
by i18n dependencies and are expected to be unique, this implementation
ensures keys are unique and not based on indexes.
@lebaudantoine lebaudantoine merged commit 63c6f5a into main Aug 4, 2024
7 of 8 checks passed
@lebaudantoine lebaudantoine deleted the fix-warning branch October 9, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Warning on the popover
1 participant