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

11 lines
147 B
JavaScript

/** @format */
export default {
getOrders( state ) {
return state.orders.orders;
},
getOrderIds( state ) {
return state.orders.ids;
},
};