From 3f8fd30e1102af17a16482142aeb91464c4077d2 Mon Sep 17 00:00:00 2001 From: jessopb <36554050+jessopb@users.noreply.github.com> Date: Thu, 25 Mar 2021 18:37:17 -0400 Subject: [PATCH] Revert "fix claimHasSource selector" This reverts commit 5416b6bc42e8a9cfe2a48799d55c27f6b74265ee. --- dist/bundle.es.js | 2 +- src/redux/selectors/claims.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/bundle.es.js b/dist/bundle.es.js index 7abcbc6..efdf3de 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -2681,7 +2681,7 @@ const makeSelectClaimHasSource = uri => reselect.createSelector(makeSelectClaimF return false; } - return Boolean(claim.value.source && claim.value_type === 'stream'); + return Boolean(claim.value.source); }); const makeSelectTotalStakedAmountForChannelUri = uri => reselect.createSelector(makeSelectClaimForUri(uri), claim => { diff --git a/src/redux/selectors/claims.js b/src/redux/selectors/claims.js index e37a30b..e5af6ab 100644 --- a/src/redux/selectors/claims.js +++ b/src/redux/selectors/claims.js @@ -867,7 +867,7 @@ export const makeSelectClaimHasSource = (uri: string) => return false; } - return Boolean(claim.value.source && claim.value_type === 'stream'); + return Boolean(claim.value.source); } ); -- 2.45.2