UNPKG

@shopgate/pwa-common-commerce

Version:

Commerce library for the Shopgate Connect PWA.

5 lines 390 B
import{RECEIVE_PRODUCT_CACHED}from"../constants";/** * Creates the dispatched RECEIVE_PRODUCT_CACHED action object. * @param {Object} productData The product data. * @return {Object} The RECEIVE_PRODUCT_CACHED action. */var receiveProductCached=function receiveProductCached(productData){return{type:RECEIVE_PRODUCT_CACHED,productData:productData};};export default receiveProductCached;