summaryrefslogtreecommitdiff
path: root/app/client/dashboard/gallery.component.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/client/dashboard/gallery.component.js')
-rw-r--r--app/client/dashboard/gallery.component.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/client/dashboard/gallery.component.js b/app/client/dashboard/gallery.component.js
index 0e1f44d..0b13cfe 100644
--- a/app/client/dashboard/gallery.component.js
+++ b/app/client/dashboard/gallery.component.js
@@ -8,7 +8,6 @@ class Gallery extends Component {
}
render(){
const { title, images } = this.props
- images.push(images[0])
const imageList = images.map(image => {
return (
<div>
@@ -16,6 +15,7 @@ class Gallery extends Component {
</div>
)
})
+ imageList.push(imageList[0])
return (
<div class='gallery'>
{imageList}