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 */}