fix pending ids selector #420

Merged
jessopb merged 1 commit from fix-pendingIdsSelector into master 2021-07-05 21:57:47 +02:00
2 changed files with 6 additions and 6 deletions
Showing only changes of commit 3bbc9aabca - Show all commits

2
dist/bundle.es.js vendored
View file

@ -2412,7 +2412,7 @@ const selectClaimsByUri = reselect.createSelector(selectClaimIdsByUri, selectCla
const selectAllClaimsByChannel = reselect.createSelector(selectState$1, state => state.paginatedClaimsByChannel || {}); const selectAllClaimsByChannel = reselect.createSelector(selectState$1, state => state.paginatedClaimsByChannel || {});
const selectPendingIds = reselect.createSelector(selectState$1, state => Object.keys(state.pendingIds) || []); const selectPendingIds = reselect.createSelector(selectState$1, state => Object.keys(state.pendingById) || []);
const selectPendingClaims = reselect.createSelector(selectPendingClaimsById, pendingById => Object.values(pendingById)); const selectPendingClaims = reselect.createSelector(selectPendingClaimsById, pendingById => Object.values(pendingById));

View file

@ -85,7 +85,7 @@ export const selectAllClaimsByChannel = createSelector(
export const selectPendingIds = createSelector( export const selectPendingIds = createSelector(
selectState, selectState,
state => Object.keys(state.pendingIds) || [] state => Object.keys(state.pendingById) || []
); );
export const selectPendingClaims = createSelector( export const selectPendingClaims = createSelector(