fix empty channel claims
This commit is contained in:
parent
07dff852f1
commit
1bd142caa1
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