Home Reference Source

application/redux/actions/upload-cart-actions.js

/**
 * Action types
 */
export const UPLOAD_CART_SET_ITEMS = 'UPLOAD_CART_SET_ITEMS';

/**
 * Action creators
 */
export function uploadCartSetItems(items) {
    return function (dispatch, getState) {
        dispatch({
            type: UPLOAD_CART_SET_ITEMS,
            payload: items
        });
        return Promise.resolve();
    }
}