woocommerce/plugins/woocommerce-admin/client/wc-api/onboarding/mutations.js

13 lines
229 B
JavaScript
Raw Normal View History

/** @format */
const updateProfileItems = operations => fields => {
const resourceKey = 'onboarding-profile';
operations.update( [ resourceKey ], {
[ resourceKey ]: fields,
} );
};
export default {
updateProfileItems,
};