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

18 lines
242 B
JavaScript
Raw Normal View History

/** @format */
export default {
setOrders( orders, query ) {
return {
type: 'SET_ORDERS',
orders,
query: query || {},
};
},
setOrdersError( query ) {
return {
type: 'SET_ORDERS_ERROR',
query: query || {},
};
},
};