-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Warning: Each child in an array or iterator should have a unique "key" prop. when using Code Tabs #1255
Comments
This should be quite an easy fix. Anyone is free to take it up 😄 |
@yangshun I'd like to scoop this one up! |
@oneuptim it's yours! I've added an "issue: claimed" label so that others will know not to start work on the issue. If you change your mind about the issue, no worries! Just let me know so that I can remove the label and free it up for someone else to claim. I'll check in with you periodically so that we can keep the task updated with the progress. |
Sounds good! Thanks! |
🐛 Bug Report
Getting a warning: Each child in an array or iterator should have a unique "key" prop. when opening a page that uses Language-specific Code Tabs, version 1.7.2.
To Reproduce
Note: In the example below I added some spaces between ` to avoid breaking the style. In the markdown file I am using there are no such spaces.
Run
docusaurus-start
and visit the page.Expected behavior
No warnings are printed in the console.
Actual Behavior
The following warnings are logged:
Reproducible Demo
Problem can be seen in the
docs/webhooks/examples.html
anddocs/webhooks/start.html
pages.The text was updated successfully, but these errors were encountered: