Browse Source

refactor: no need for identity select intermediary

The pendingOpenChannelsSelector does what we need here.
renovate/lint-staged-8.x
Ben Woosley 7 years ago
parent
commit
26c7ccdef6
No known key found for this signature in database GPG Key ID: 6EE5F3785F78B345
  1. 5
      app/reducers/channels.js

5
app/reducers/channels.js

@ -444,10 +444,7 @@ channelsSelectors.nonActiveChannelPubkeys = createSelector(channelsSelector, ope
openChannels.filter(channel => !channel.active).map(c => c.remote_pubkey) openChannels.filter(channel => !channel.active).map(c => c.remote_pubkey)
) )
channelsSelectors.pendingOpenChannels = createSelector( channelsSelectors.pendingOpenChannels = pendingOpenChannelsSelector
pendingOpenChannelsSelector,
pendingOpenChannels => pendingOpenChannels
)
channelsSelectors.pendingOpenChannelPubkeys = createSelector( channelsSelectors.pendingOpenChannelPubkeys = createSelector(
pendingOpenChannelsSelector, pendingOpenChannelsSelector,

Loading…
Cancel
Save