fixed typo in show channel error reducer
This commit is contained in:
parent
ffb4466fcf
commit
22103081cc
1 changed files with 3 additions and 1 deletions
|
@ -45,6 +45,8 @@ const initialState = {
|
||||||
error : null,
|
error : null,
|
||||||
status: LOCAL_CHECK,
|
status: LOCAL_CHECK,
|
||||||
},
|
},
|
||||||
|
viewedChannels: [],
|
||||||
|
viewedClaims : [],
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -79,7 +81,7 @@ export default function (state = initialState, action) {
|
||||||
// show channel cases
|
// show channel cases
|
||||||
case actions.SHOW_CHANNEL_ERROR:
|
case actions.SHOW_CHANNEL_ERROR:
|
||||||
return Object.assign({}, state, {
|
return Object.assign({}, state, {
|
||||||
showChannel: Object.assign({}, state.showAsset, {
|
showChannel: Object.assign({}, state.showChannel, {
|
||||||
error: action.data,
|
error: action.data,
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue