Unverified Commit 38152222 authored by Pavel Mineev's avatar Pavel Mineev Committed by GitHub

fix: use key while rendering arrays (#25902)

Fixes one of the items that was mentioned in #25854.

It fixes warning from React in `with-react-multi-carousel`.
parent bb973be2
......@@ -59,7 +59,7 @@ class Index extends Component {
deviceType={''}
>
{images.map((image) => {
return <Image url={image} alt={image} />
return <Image key={image} url={image} alt={image} />
})}
</Carousel>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment