Merge pull request #4 from lbryio/search-fix
fix: check that claim exists before checking value
This commit is contained in:
commit
800083dc24
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ export const selectSearchDownloadUris = query =>
|
|||
|
||||
if (channelName) {
|
||||
const claim = claimsById[claimId];
|
||||
if (claim.value) {
|
||||
if (claim && claim.value) {
|
||||
uriParams.claimId = claim.value.publisherSignature.certificateId;
|
||||
} else {
|
||||
uriParams.claimId = claimId;
|
||||
|
|
Loading…
Reference in a new issue