fixed typo in show channel error reducer

This commit is contained in:
bill bittner 2018-02-07 11:36:13 -08:00
parent ffb4466fcf
commit 22103081cc

View file

@ -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,
}), }),
}); });