homeflowjs 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -149,7 +149,10 @@ export const loadNext = () => (dispatch, getState) => {
149
149
  let newProperties = [...getState().properties.properties];
150
150
  const nextPageSearch = { ...getState().search.initialSearch };
151
151
  const currentPageNumber = getState()?.properties?.pagination?.current_page;
152
+
153
+ if (nextPageSearch?.place?.place_id) nextPageSearch.placeId = nextPageSearch?.place?.place_id;
152
154
  nextPageSearch.page = currentPageNumber ? currentPageNumber + 1 : 2;
155
+
153
156
  // conduct search ljson
154
157
  return fetch(`/search.ljson?${buildQueryString(nextPageSearch)}`)
155
158
  .then((response) => response.json())
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homeflowjs",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "sideEffects": [
5
5
  "modal/**/*",
6
6
  "user/default-profile/**/*",