Fixed inconsistencies
This commit is contained in:
parent
521703a816
commit
bb9e474ad4
3 changed files with 4 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
import * as types from "constants/action_types";
|
||||
import lbry from "lbry";
|
||||
import { doFetchClaimListMine, doAbandonClaim, doResolveUri } from "redux/actions/content";
|
||||
import { doFetchClaimListMine, doAbandonClaim } from "redux/actions/content";
|
||||
import {
|
||||
selectClaimsByUri,
|
||||
selectIsFetchingClaimListMine,
|
||||
|
|
|
@ -194,8 +194,6 @@ export const selectMyClaimSdHashesByOutpoint = createSelector(
|
|||
myClaims => {
|
||||
const sdHashByOutpoint = {};
|
||||
|
||||
console.log(myClaims);
|
||||
|
||||
myClaims.forEach(claim => {
|
||||
sdHashByOutpoint[`${claim.txid}:${claim.nout}`] =
|
||||
claim.value.stream.source.source;
|
||||
|
|
|
@ -143,11 +143,11 @@ export const selectDownloadingFileInfos = createSelector(
|
|||
selectDownloadingBySdHash,
|
||||
selectFileInfosBySdHash,
|
||||
(downloadingBySdHash, fileInfosBySdHash) => {
|
||||
const sd_hashes = Object.keys(downloadingBySdHash);
|
||||
const sdHashes = Object.keys(downloadingBySdHash);
|
||||
const fileInfos = [];
|
||||
|
||||
sd_hashes.forEach(sd_hash => {
|
||||
const fileInfo = fileInfosBySdHash[sd_hash];
|
||||
sdHashes.forEach(sdHash => {
|
||||
const fileInfo = fileInfosBySdHash[sdHash];
|
||||
|
||||
if (fileInfo) fileInfos.push(fileInfo);
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue