From a75661a12e04f26802e0ec552dd067cab380903d Mon Sep 17 00:00:00 2001 From: Vesa Luusua Date: Tue, 7 Mar 2017 16:45:36 +0200 Subject: [PATCH] Refactoring: run prettier --- src/containers/ListingPage/ListingPage.js | 30 ++++++++++++----------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/src/containers/ListingPage/ListingPage.js b/src/containers/ListingPage/ListingPage.js index 50e6de73..e2c180d0 100644 --- a/src/containers/ListingPage/ListingPage.js +++ b/src/containers/ListingPage/ListingPage.js @@ -64,26 +64,28 @@ export class ListingPageComponent extends Component { : []; // TODO componentize - const imageCarousel = images.length > 0 - ? ( -
- {title} -
- {images.slice(1).map(image => ( -
-
- {`${title} -
+ const imageCarousel = images.length > 0 + ?
+ {title} +
+ {images.slice(1).map(image => ( +
+
+ {`${title}
- ))} -
+
+ ))}
- ) +
: null; const pageContent = ( - { imageCarousel } + {imageCarousel} {/* eslint-disable react/no-danger */}
{/* eslint-enable react/no-danger */}