woocommerce/plugins/woocommerce-admin/client/store/variations/actions.js

19 lines
267 B
JavaScript
Raw Normal View History

2018-10-31 00:04:00 +00:00
/** @format */
export default {
setVariations( variations, query ) {
return {
type: 'SET_VARIATIONS',
variations,
query: query || {},
};
},
setVariationsError( query ) {
return {
type: 'SET_VARIATIONS_ERROR',
query: query || {},
};
},
};