diff --git a/src/containers/ListingPage/ListingPage.duck.js b/src/containers/ListingPage/ListingPage.duck.js index 2e365f0920..1728586c3c 100644 --- a/src/containers/ListingPage/ListingPage.duck.js +++ b/src/containers/ListingPage/ListingPage.duck.js @@ -38,7 +38,7 @@ const initialState = { reviews: [], fetchReviewsError: null, timeSlots: null, - fetchTimesLotsError: null, + fetchTimeSlotsError: null, sendEnquiryInProgress: false, sendEnquiryError: null, enquiryModalOpenForListingId: null, diff --git a/src/containers/ListingPage/ListingPage.js b/src/containers/ListingPage/ListingPage.js index 4d6eacc14f..9e11022c9b 100644 --- a/src/containers/ListingPage/ListingPage.js +++ b/src/containers/ListingPage/ListingPage.js @@ -198,6 +198,7 @@ export class ListingPageComponent extends Component { sendEnquiryInProgress, sendEnquiryError, timeSlots, + fetchTimeSlotsError, categoriesConfig, amenitiesConfig, } = this.props; @@ -479,6 +480,7 @@ export class ListingPageComponent extends Component { handleMobileBookModalClose={handleMobileBookModalClose} onManageDisableScrolling={onManageDisableScrolling} timeSlots={timeSlots} + fetchTimeSlotsError={fetchTimeSlotsError} /> diff --git a/src/containers/ListingPage/SectionBooking.js b/src/containers/ListingPage/SectionBooking.js index 08cb4a6f89..a649d4489a 100644 --- a/src/containers/ListingPage/SectionBooking.js +++ b/src/containers/ListingPage/SectionBooking.js @@ -25,8 +25,10 @@ const SectionBooking = props => { handleMobileBookModalClose, onManageDisableScrolling, timeSlots, + fetchTimeSlotsError, } = props; const showClosedListingHelpText = listing.id && isClosed; + return (
+