bad solution for #544
This commit is contained in:
parent
326d76b561
commit
4ed7d2cba9
1 changed files with 6 additions and 1 deletions
|
@ -180,7 +180,12 @@ export const selectMyChannelClaims = createSelector(
|
|||
const ids = state.myChannelClaims || [];
|
||||
const claims = [];
|
||||
|
||||
ids.forEach(id => claims.push(byId[id]));
|
||||
ids.forEach(id => {
|
||||
if (byId[id]) {
|
||||
//I'm not sure why this check is necessary, but it ought to be a quick fix for https://github.com/lbryio/lbry-app/issues/544
|
||||
claims.push(byId[id]);
|
||||
}
|
||||
});
|
||||
|
||||
return claims;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue