homeflowjs 0.13.31 → 0.13.32

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.
@@ -48,7 +48,7 @@ export const setPropertyLinksAsync = (page = null) => (dispatch) => {
48
48
 
49
49
  const nextSearch = {
50
50
  ...lastSearch,
51
- page: lastSearch.page ? lastSearch.page : 1,
51
+ page: lastSearch.page ? +lastSearch.page : 1,
52
52
  };
53
53
 
54
54
  // if there is a previous, conduct search for next
@@ -38,6 +38,6 @@ export const updateLastSearchPageInLocalStorage = (change) => {
38
38
  // Get search history from local storage
39
39
  let searchHistory = localStorage.getItem('searchHistory');
40
40
  searchHistory = searchHistory ? JSON.parse(searchHistory) : [];
41
- searchHistory[0].page = (searchHistory[0].page ? searchHistory[0].page : 1) + change;
41
+ searchHistory[0].page = (searchHistory[0].page ? +searchHistory[0].page : 1) + change;
42
42
  localStorage.setItem('searchHistory', JSON.stringify(searchHistory));
43
43
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homeflowjs",
3
- "version": "0.13.31",
3
+ "version": "0.13.32",
4
4
  "sideEffects": [
5
5
  "modal/**/*",
6
6
  "user/default-profile/**/*",