diff options
Diffstat (limited to 'public/bundle.js')
| -rw-r--r-- | public/bundle.js | 8 |
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) ) ) |
