diff --git a/CHANGELOG.md b/CHANGELOG.md index 40891469df..25bc2ec4b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,8 @@ way to update this template, but currently, we follow a pattern: ## Upcoming version 2019-XX-XX +- [fix] ListingPage.duck: fix minor bug on dispatching the fetchReviewsRequest action [#1074](https://github.com/sharetribe/flex-template-web/pull/1074) + ## [v2.15.0] 2019-04-24 - [add] Improve printing API errors on web inspector (console.table) diff --git a/src/containers/ListingPage/ListingPage.duck.js b/src/containers/ListingPage/ListingPage.duck.js index 54c832628f..5c6887ab55 100644 --- a/src/containers/ListingPage/ListingPage.duck.js +++ b/src/containers/ListingPage/ListingPage.duck.js @@ -171,7 +171,7 @@ export const showListing = (listingId, isOwn = false) => (dispatch, getState, sd }; export const fetchReviews = listingId => (dispatch, getState, sdk) => { - dispatch(fetchReviewsRequest); + dispatch(fetchReviewsRequest()); return sdk.reviews .query({ listing_id: listingId,