-
Notifications
You must be signed in to change notification settings - Fork 15
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
Duplicate keys on passing array of ReactElement #18
Comments
Great catch! We'll look into this. |
This is now fixed in v1.6.1. Thanks for letting us know! |
Thanks for the super fast fix! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have defined a custom component that adds emoji
When content is a ReactElement array, it sometimes throws the following warning
Encountered two children with the same key
. This happens as the key is offset from the start of that particular element so when content is["🧡 abc", "🧡 xyz"]
both the returned images have the same key0
.How to handle this situation?
The text was updated successfully, but these errors were encountered: