lint fixes
This commit is contained in:
parent
2b0a35717d
commit
7372f5dff9
5 changed files with 9 additions and 5 deletions
|
@ -128,7 +128,7 @@
|
||||||
"husky": "^0.14.3",
|
"husky": "^0.14.3",
|
||||||
"json-loader": "^0.5.4",
|
"json-loader": "^0.5.4",
|
||||||
"lbry-format": "https://github.com/lbryio/lbry-format.git",
|
"lbry-format": "https://github.com/lbryio/lbry-format.git",
|
||||||
"lbry-redux": "lbryio/lbry-redux#4aa1f6f379061becf4485380416ec00faed3be6c",
|
"lbry-redux": "lbryio/lbry-redux#e5440ba86078dcdfced490bc444810c8f57dc774",
|
||||||
"lbryinc": "lbryio/lbryinc#061c782ff44b359b04aeaecf8b86431fabb069e0",
|
"lbryinc": "lbryio/lbryinc#061c782ff44b359b04aeaecf8b86431fabb069e0",
|
||||||
"lint-staged": "^7.0.2",
|
"lint-staged": "^7.0.2",
|
||||||
"localforage": "^1.7.1",
|
"localforage": "^1.7.1",
|
||||||
|
|
|
@ -69,6 +69,7 @@ function ChannelContent(props: Props) {
|
||||||
{hasContent && !channelIsBlocked && !channelIsBlackListed && (
|
{hasContent && !channelIsBlocked && !channelIsBlackListed && (
|
||||||
<ClaimList header={false} uris={claimsInChannel.map(claim => claim && claim.canonical_url)} />
|
<ClaimList header={false} uris={claimsInChannel.map(claim => claim && claim.canonical_url)} />
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{!channelIsBlocked && !channelIsBlackListed && (
|
{!channelIsBlocked && !channelIsBlackListed && (
|
||||||
<Paginate
|
<Paginate
|
||||||
onPageChange={page => fetchClaims(uri, page)}
|
onPageChange={page => fetchClaims(uri, page)}
|
||||||
|
|
|
@ -27,7 +27,9 @@ function Paginate(props: Props) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (currentPage !== newPageNumber) {
|
if (currentPage !== newPageNumber) {
|
||||||
history.push(`?${PAGINATE_PARAM}=${newPageNumber}`);
|
const params = new URLSearchParams(search);
|
||||||
|
params.set(PAGINATE_PARAM, newPageNumber.toString());
|
||||||
|
history.push('?' + params.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ type Props = {
|
||||||
downloadedUrlsCount: ?number,
|
downloadedUrlsCount: ?number,
|
||||||
history: { replace: string => void },
|
history: { replace: string => void },
|
||||||
page: number,
|
page: number,
|
||||||
query: string
|
query: string,
|
||||||
};
|
};
|
||||||
|
|
||||||
function FileListDownloaded(props: Props) {
|
function FileListDownloaded(props: Props) {
|
||||||
|
@ -50,6 +50,7 @@ function FileListDownloaded(props: Props) {
|
||||||
onChange={handleInputChange}
|
onChange={handleInputChange}
|
||||||
value={query}
|
value={query}
|
||||||
type="text"
|
type="text"
|
||||||
|
name="query"
|
||||||
placeholder={__('Search')}
|
placeholder={__('Search')}
|
||||||
/>
|
/>
|
||||||
</Form>
|
</Form>
|
||||||
|
|
|
@ -6848,9 +6848,9 @@ lazy-val@^1.0.3, lazy-val@^1.0.4:
|
||||||
yargs "^13.2.2"
|
yargs "^13.2.2"
|
||||||
zstd-codec "^0.1.1"
|
zstd-codec "^0.1.1"
|
||||||
|
|
||||||
lbry-redux@lbryio/lbry-redux#4aa1f6f379061becf4485380416ec00faed3be6c:
|
lbry-redux@lbryio/lbry-redux#e5440ba86078dcdfced490bc444810c8f57dc774:
|
||||||
version "0.0.1"
|
version "0.0.1"
|
||||||
resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/4aa1f6f379061becf4485380416ec00faed3be6c"
|
resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/e5440ba86078dcdfced490bc444810c8f57dc774"
|
||||||
dependencies:
|
dependencies:
|
||||||
proxy-polyfill "0.1.6"
|
proxy-polyfill "0.1.6"
|
||||||
reselect "^3.0.0"
|
reselect "^3.0.0"
|
||||||
|
|
Loading…
Reference in a new issue