fix empty channel claims

This commit is contained in:
jessop 2020-04-15 11:51:08 -04:00
parent 07dff852f1
commit 1bd142caa1
2 changed files with 2 additions and 2 deletions

2
dist/bundle.es.js vendored
View file

@ -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 => {

View file

@ -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 => {