diff --git a/src/containers/ListingPage/ListingPage.css b/src/containers/ListingPage/ListingPage.css index 6a322850..8f723cdd 100644 --- a/src/containers/ListingPage/ListingPage.css +++ b/src/containers/ListingPage/ListingPage.css @@ -382,7 +382,7 @@ } } -.featuresContainer { +.sectionFeatures { padding: 0 24px; margin-bottom: 32px; diff --git a/src/containers/ListingPage/ListingPage.js b/src/containers/ListingPage/ListingPage.js index 336a5c6e..c4b7595a 100644 --- a/src/containers/ListingPage/ListingPage.js +++ b/src/containers/ListingPage/ListingPage.js @@ -32,7 +32,6 @@ import { Footer, UserCard, Reviews, - PropertyGroup, } from '../../components'; import { BookingDatesForm, TopbarContainer, EnquiryForm, NotFoundPage } from '../../containers'; @@ -40,6 +39,7 @@ import { sendEnquiry, loadData, setInitialValues } from './ListingPage.duck'; import SectionImages from './SectionImages'; import SectionHeading from './SectionHeading'; import SectionDescription from './SectionDescription'; +import SectionFeatures from './SectionFeatures'; import SectionRulesMaybe from './SectionRulesMaybe'; import SectionMapMaybe from './SectionMapMaybe'; import css from './ListingPage.css'; @@ -479,19 +479,10 @@ export class ListingPageComponent extends Component { onContactUser={this.onContactUser} /> - -
-

- -

- -
- + { + const { options, selectedOptions } = props; + return ( +
+

+ +

+ +
+ ); +}; + +export default SectionFeatures; diff --git a/src/containers/ListingPage/__snapshots__/ListingPage.test.js.snap b/src/containers/ListingPage/__snapshots__/ListingPage.test.js.snap index 2e3fe888..58316698 100644 --- a/src/containers/ListingPage/__snapshots__/ListingPage.test.js.snap +++ b/src/containers/ListingPage/__snapshots__/ListingPage.test.js.snap @@ -195,57 +195,44 @@ exports[`ListingPage matches snapshot 1`] = ` -
-

- -

- -
+