There is an action :
export const setCurrentFullData = (market, type, odd)=> dispatch => { dispatch({ type: 'ADD_FULL_DATA_SUCCESS', payload: { market: market, type:type, odd: odd } }); }; And reducer :
const initialState = []; export default function currentFullData(state = initialState, action) { if (action.type === 'ADD_FULL_DATA_SUCCESS') { state.push(action.payload); return state; } return state; } For some reason, the first return does not return anything, if you change the state to action.payload then the object is returned