bad solution for #544

This commit is contained in:
Jeremy Kauffman 2017-09-21 21:12:18 -04:00
parent 326d76b561
commit 4ed7d2cba9

View file

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