Revert "fix claimHasSource selector" #399

Merged
jessopb merged 1 commit from revert-398-fix-hasSourceSelector into master 2021-03-25 23:37:39 +01:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 3f8fd30e11 - Show all commits

2
dist/bundle.es.js vendored
View file

@ -2681,7 +2681,7 @@ const makeSelectClaimHasSource = uri => reselect.createSelector(makeSelectClaimF
return false;
}
return Boolean(claim.value.source && claim.value_type === 'stream');
return Boolean(claim.value.source);
});
const makeSelectTotalStakedAmountForChannelUri = uri => reselect.createSelector(makeSelectClaimForUri(uri), claim => {

View file

@ -867,7 +867,7 @@ export const makeSelectClaimHasSource = (uri: string) =>
return false;
}
return Boolean(claim.value.source && claim.value_type === 'stream');
return Boolean(claim.value.source);
}
);