From 239fad79a3d897e19216c21f81a0aae52f36bc85 Mon Sep 17 00:00:00 2001 From: Serg Nesterov Date: Sun, 11 Sep 2016 00:58:30 +0300 Subject: [PATCH] Key images by their source URL to ensure React is treating them as unique elements. --- src/Gallery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gallery.js b/src/Gallery.js index bc328e7..4ffd97e 100644 --- a/src/Gallery.js +++ b/src/Gallery.js @@ -197,7 +197,7 @@ class Gallery extends Component { render () { var images = this.state.thumbnails.map((item, idx) => { return