Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 9e27a86

Browse files
committed
Keep Newer Channel Information
1 parent 8ebb7c9 commit 9e27a86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/lightning-core/accounts/reducer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default (state = initialState, action) => {
4444
case FETCH_CHANNELS:
4545
return {
4646
...state,
47-
channels: _.uniqBy([...state.channels, ...action.channels], 'channelPoint'),
47+
channels: _.uniqBy([...action.channels, ...state.channels], 'channelPoint'),
4848
loadingChannels: false,
4949
}
5050
case FETCH_CHANNELS_FAILURE:

0 commit comments

Comments
 (0)