What am I doing wrong here ? I'm returning return children;
in a function which gets called in render()
children.push(<img key="`${this.data_images.hits[i].id}`" src="`${this.data_images.hits[i].previewURL}`"/>)
Warning: Encountered two children with the same key,
${this.data_images.hits[i].id}
And the rendered output is
<img src="`${this.data_images.hits[i].previewURL}`">