summaryrefslogtreecommitdiff
path: root/public/bundle.js
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 /public/bundle.js
parente484781d56a04e37c93090c52ce4e3f2be404a33 (diff)
more static endpoints
Diffstat (limited to 'public/bundle.js')
-rw-r--r--public/bundle.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/public/bundle.js b/public/bundle.js
index 1e68e45..38f094e 100644
--- a/public/bundle.js
+++ b/public/bundle.js
@@ -1228,7 +1228,6 @@ var Gallery = function (_Component) {
title = _props.title,
images = _props.images;
- images.push(images[0]);
var imageList = images.map(function (image) {
return (0, _preact.h)(
'div',
@@ -1236,6 +1235,7 @@ var Gallery = function (_Component) {
(0, _preact.h)('img', { src: image.url })
);
});
+ imageList.push(imageList[0]);
return (0, _preact.h)(
'div',
{ 'class': 'gallery' },
@@ -1423,9 +1423,9 @@ var app = (0, _preact.h)(
(0, _preact.h)(
'div',
null,
- (0, _preact.h)(_reactRouterDom.Route, { path: '/', component: _dashboard2.default }),
- (0, _preact.h)(_reactRouterDom.Route, { path: '/live/', component: _pix2pix2.default }),
- (0, _preact.h)(_reactRouterDom.Route, { path: '/dashboard/', component: _dashboard2.default }),
+ (0, _preact.h)(_reactRouterDom.Route, { exact: true, path: '/', component: _dashboard2.default }),
+ (0, _preact.h)(_reactRouterDom.Route, { exact: true, path: '/live/', component: _pix2pix2.default }),
+ (0, _preact.h)(_reactRouterDom.Route, { exact: true, path: '/dashboard/', component: _dashboard2.default }),
(0, _preact.h)(_header2.default, null)
)
)