jimpala / biosynthage

Website designed for iGEM UCL Biosynthage project.
0 stars 0 forks source link

ImageArray 'non-unique key prop' warning #22

Closed jimpala closed 8 years ago

jimpala commented 8 years ago

Debugger console (upon routing to DescriptionPage): Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of ImageArray. See https://fb.me/react-warning-keys for more information. in ImageBlock (created by ImageArray) in ImageArray (created by DescriptionPage) in div (created by DescriptionPage) in div (created by DescriptionPage) in div (created by DescriptionPage) in DescriptionPage (created by RouterContext)

Any ideas Liam?

Usefulmaths commented 8 years ago

When a component is the owner of multiple components, the ownee components must have a unique 'key' attribute. This ensures that the identity and state of the components are maintained upon re-rendering.

jimpala commented 8 years ago

nice one champy