From 4ed7d2cba9e7f6b2f0fccdd22bdc11ae85bfdaf5 Mon Sep 17 00:00:00 2001 From: Jeremy Kauffman Date: Thu, 21 Sep 2017 21:12:18 -0400 Subject: [PATCH] bad solution for #544 --- ui/js/selectors/claims.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ui/js/selectors/claims.js b/ui/js/selectors/claims.js index 34c4ea688..c90b78843 100644 --- a/ui/js/selectors/claims.js +++ b/ui/js/selectors/claims.js @@ -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; }