Shopify / polaris

Shopify’s design system to help us work together to build a great experience for all of our merchants.
https://polaris.shopify.com
Other
5.76k stars 1.17k forks source link

Warning: Encountered two children with the same key from Shopify Polaris IndexTable Component #11951

Open sanjay-panther opened 4 months ago

sanjay-panther commented 4 months ago

Summary

i have unique key in map loop even got warning : (Encountered two children with the same key, ``. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version. ) from Shopify polaris Indextable Component.

Expected behavior

No response

Actual behavior

Wrap animated gifs/videos in a details tag:

Summary of your gif(s) Description of what the gif shows

Steps to reproduce

[Link to sandbox]()

Are you using React components?

None

Polaris version number

No response

Browser

No response

Device

No response

officialtpss commented 3 weeks ago

Hi folks, I hope you all are doing well.

I am also facing the same warning in my console. I tired all things but none worked for me.

Image

Code Snapshot

Image

Polaris Version: 12.0.0

I have checked all my code but nothing found.

Any help over this is really appreciated

Thanks