diff --git a/src/containers/SearchPage/SearchPage.js b/src/containers/SearchPage/SearchPage.js index e960ddd1..ccd92167 100644 --- a/src/containers/SearchPage/SearchPage.js +++ b/src/containers/SearchPage/SearchPage.js @@ -293,6 +293,7 @@ const { array, bool, func, oneOf, object, shape, string } = PropTypes; SearchPageComponent.propTypes = { listings: array, mapListings: array, + onActivateListing: func.isRequired, onManageDisableScrolling: func.isRequired, onSearchMapListings: func.isRequired, pagination: propTypes.pagination, diff --git a/src/containers/SearchPage/SearchPage.test.js b/src/containers/SearchPage/SearchPage.test.js index aa38bfc9..9b7a35e4 100644 --- a/src/containers/SearchPage/SearchPage.test.js +++ b/src/containers/SearchPage/SearchPage.test.js @@ -36,6 +36,7 @@ describe('SearchPageComponent', () => { currentUserHasListings: false, intl: fakeIntl, isAuthenticated: false, + onActivateListing: noop, onLogout: noop, onManageDisableScrolling: noop, onSearchMapListings: noop, diff --git a/src/containers/SearchPage/__snapshots__/SearchPage.test.js.snap b/src/containers/SearchPage/__snapshots__/SearchPage.test.js.snap index 2c6d9c8f..df9d474c 100644 --- a/src/containers/SearchPage/__snapshots__/SearchPage.test.js.snap +++ b/src/containers/SearchPage/__snapshots__/SearchPage.test.js.snap @@ -22,10 +22,29 @@ exports[`SearchPageComponent matches snapshot 1`] = ` currentSearchParams={Object {}} />
-
- - -
- -
-
+ } + showAsModalMaxWidth={768} + urlQueryParams={Object {}} + />