Fix selectClaimForUriIsMine

This commit is contained in:
6ea86b96 2017-07-03 14:53:56 +07:00
parent 7c5187c4e4
commit 7c3953ac51

View file

@ -51,7 +51,7 @@ export const makeSelectClaimForUri = () => {
const selectClaimForUriIsMine = (state, props) => { const selectClaimForUriIsMine = (state, props) => {
const uri = lbryuri.normalize(props.uri); const uri = lbryuri.normalize(props.uri);
const claim = selectClaimsByUri(state)[uri]; const claim = selectClaimsByUri(state)[uri];
const myClaims = selectMyClaims(state); const myClaims = selectMyClaimsRaw(state);
return myClaims.has(claim.claim_id); return myClaims.has(claim.claim_id);
}; };