Answer the question
In order to leave comments, you need to log in
Why is the store not updating in the reducer?
Here is the reducer code.
export default function(state = {
brokers: []
}, action) {
switch(action.type) {
case actions.BROKERS_LOADED:
return Object.assign({}, state, {
brokers: action.data
});
default:
return state;
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question