Merge pull request #319 from lbryio/fix-uploadingState

fix uploading state selector
This commit is contained in:
jessopb 2020-05-26 18:00:32 -04:00 committed by GitHub
commit 65346c5977
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

4
dist/bundle.es.js vendored
View file

@ -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];
});

View file

@ -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];
}
);