Merge pull request #300 from lbryio/fix-nullChannelClaims
fix empty channel claims
This commit is contained in:
commit
0ade1de9e7
2 changed files with 2 additions and 2 deletions
2
dist/bundle.es.js
vendored
2
dist/bundle.es.js
vendored
|
@ -5044,7 +5044,7 @@ reducers[FETCH_CHANNEL_LIST_COMPLETED] = (state, action) => {
|
|||
|
||||
if (!claims.length) {
|
||||
// $FlowFixMe
|
||||
myChannelClaims = null;
|
||||
myChannelClaims = [];
|
||||
} else {
|
||||
myChannelClaims = new Set(state.myChannelClaims);
|
||||
claims.forEach(claim => {
|
||||
|
|
|
@ -220,7 +220,7 @@ reducers[ACTIONS.FETCH_CHANNEL_LIST_COMPLETED] = (state: State, action: any): St
|
|||
|
||||
if (!claims.length) {
|
||||
// $FlowFixMe
|
||||
myChannelClaims = null;
|
||||
myChannelClaims = [];
|
||||
} else {
|
||||
myChannelClaims = new Set(state.myChannelClaims);
|
||||
claims.forEach(claim => {
|
||||
|
|
Loading…
Reference in a new issue