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

18 lines
236 B
JavaScript

/** @format */
export default {
setNotes( notes, query ) {
return {
type: 'SET_NOTES',
notes,
query: query || {},
};
},
setNotesError( query ) {
return {
type: 'SET_NOTES_ERROR',
query: query || {},
};
},
};