From 28f4bd59314df8162548a1100b280bd256436eaa Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 25 May 2018 20:04:34 +0200 Subject: more static endpoints --- app/client/dashboard/gallery.component.js | 2 +- app/client/index.jsx | 6 +++--- app/server/index.js | 7 +++++++ 3 files changed, 11 insertions(+), 4 deletions(-) (limited to 'app') 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 (
@@ -16,6 +15,7 @@ class Gallery extends Component {
) }) + imageList.push(imageList[0]) return (