diff --git a/package.json b/package.json index 10c130b86..da0497824 100644 --- a/package.json +++ b/package.json @@ -124,7 +124,7 @@ "jsmediatags": "^3.8.1", "json-loader": "^0.5.4", "lbry-format": "https://github.com/lbryio/lbry-format.git", - "lbry-redux": "lbryio/lbry-redux#8910693fe1fc4166fdc748d128344012c3d61874", + "lbry-redux": "lbryio/lbry-redux#469d3b70cbe39f28aafee4e072fdfc5bac604c4b", "lbryinc": "lbryio/lbryinc#a93596c51c8fb0a226cb84df04c26a6bb60a45fb", "lint-staged": "^7.0.2", "localforage": "^1.7.1", diff --git a/src/ui/component/claimListDiscover/view.jsx b/src/ui/component/claimListDiscover/view.jsx index d57b25f6b..de2a606a6 100644 --- a/src/ui/component/claimListDiscover/view.jsx +++ b/src/ui/component/claimListDiscover/view.jsx @@ -2,7 +2,7 @@ import type { Node } from 'react'; import React, { Fragment, useEffect } from 'react'; import { withRouter } from 'react-router'; -import { buildClaimSearchCacheQuery, MATURE_TAGS } from 'lbry-redux'; +import { createNormalizedClaimSearchKey, MATURE_TAGS } from 'lbry-redux'; import { FormField } from 'component/common/form'; import moment from 'moment'; import ClaimList from 'component/claimList'; @@ -103,13 +103,13 @@ function ClaimListDiscover(props: Props) { )}`; } - const claimSearchCacheQuery = buildClaimSearchCacheQuery(options); + const claimSearchCacheQuery = createNormalizedClaimSearchKey(options); const uris = claimSearchByQuery[claimSearchCacheQuery] || []; const shouldPerformSearch = uris.length === 0 || didNavigateForward || (!loading && uris.length < PAGE_SIZE * page && uris.length % PAGE_SIZE === 0); - // Don't use the query from buildClaimSearchCacheQuery for the effect since that doesn't include page & release_time + // Don't use the query from createNormalizedClaimSearchKey for the effect since that doesn't include page & release_time const optionsStringForEffect = JSON.stringify(options); function getSearch() { diff --git a/yarn.lock b/yarn.lock index 0006ec5a1..528038283 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6653,9 +6653,9 @@ lazy-val@^1.0.3, lazy-val@^1.0.4: yargs "^13.2.2" zstd-codec "^0.1.1" -lbry-redux@lbryio/lbry-redux#8910693fe1fc4166fdc748d128344012c3d61874: +lbry-redux@lbryio/lbry-redux#469d3b70cbe39f28aafee4e072fdfc5bac604c4b: version "0.0.1" - resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/8910693fe1fc4166fdc748d128344012c3d61874" + resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/469d3b70cbe39f28aafee4e072fdfc5bac604c4b" dependencies: proxy-polyfill "0.1.6" reselect "^3.0.0"