summaryrefslogtreecommitdiff
path: root/app/client/dashboard
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-25 20:04:34 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-25 20:04:34 +0200
commit28f4bd59314df8162548a1100b280bd256436eaa (patch)
tree0f86102a076bfc1082b04f81aa7986bcba897a9a /app/client/dashboard
parente484781d56a04e37c93090c52ce4e3f2be404a33 (diff)
more static endpoints
Diffstat (limited to 'app/client/dashboard')
-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}