diff --git a/dist/bundle.es.js b/dist/bundle.es.js index 9e3c06a..e7ded8d 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -2612,8 +2612,8 @@ const selectUpdatingChannel = reselect.createSelector(selectState$2, state => st const selectUpdateChannelError = reselect.createSelector(selectState$2, state => state.updateChannelError); -const makeSelectReflectingClaimForUri = uri => reselect.createSelector(makeSelectClaimForUri(uri), selectReflectingById, (claim, reflectingById) => { - const claimId = claim && claim.claimId; +const makeSelectReflectingClaimForUri = uri => reselect.createSelector(selectClaimIdsByUri, selectReflectingById, (claimIdsByUri, reflectingById) => { + const claimId = claimIdsByUri[normalizeURI(uri)]; return reflectingById[claimId]; }); diff --git a/src/redux/selectors/claims.js b/src/redux/selectors/claims.js index 422530e..e2ced6c 100644 --- a/src/redux/selectors/claims.js +++ b/src/redux/selectors/claims.js @@ -785,10 +785,10 @@ export const selectUpdateChannelError = createSelector( export const makeSelectReflectingClaimForUri = (uri: string) => createSelector( - makeSelectClaimForUri(uri), + selectClaimIdsByUri, selectReflectingById, - (claim, reflectingById) => { - const claimId = claim && claim.claimId; + (claimIdsByUri, reflectingById) => { + const claimId = claimIdsByUri[normalizeURI(uri)]; return reflectingById[claimId]; } );