fix pending ids selector

This commit is contained in:
zeppi 2021-07-05 15:41:55 -04:00
parent 729a4831ad
commit 3bbc9aabca
2 changed files with 6 additions and 6 deletions

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(