Merge pull request #319 from lbryio/fix-uploadingState
fix uploading state selector
This commit is contained in:
commit
65346c5977
2 changed files with 5 additions and 5 deletions
4
dist/bundle.es.js
vendored
4
dist/bundle.es.js
vendored
|
@ -2612,8 +2612,8 @@ const selectUpdatingChannel = reselect.createSelector(selectState$2, state => st
|
|||
|
||||
const selectUpdateChannelError = reselect.createSelector(selectState$2, state => state.updateChannelError);
|
||||
|
||||
const makeSelectReflectingClaimForUri = uri => reselect.createSelector(makeSelectClaimForUri(uri), selectReflectingById, (claim, reflectingById) => {
|
||||
const claimId = claim && claim.claimId;
|
||||
const makeSelectReflectingClaimForUri = uri => reselect.createSelector(selectClaimIdsByUri, selectReflectingById, (claimIdsByUri, reflectingById) => {
|
||||
const claimId = claimIdsByUri[normalizeURI(uri)];
|
||||
return reflectingById[claimId];
|
||||
});
|
||||
|
||||
|
|
|
@ -785,10 +785,10 @@ export const selectUpdateChannelError = createSelector(
|
|||
|
||||
export const makeSelectReflectingClaimForUri = (uri: string) =>
|
||||
createSelector(
|
||||
makeSelectClaimForUri(uri),
|
||||
selectClaimIdsByUri,
|
||||
selectReflectingById,
|
||||
(claim, reflectingById) => {
|
||||
const claimId = claim && claim.claimId;
|
||||
(claimIdsByUri, reflectingById) => {
|
||||
const claimId = claimIdsByUri[normalizeURI(uri)];
|
||||
return reflectingById[claimId];
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue