@shopgate/pwa-common-commerce
Version:
Commerce library for the Shopgate Connect PWA.
6 lines • 434 B
JavaScript
import{ERROR_PRODUCT_IMAGES}from"../constants";/**
* Dispatches the ERROR_PRODUCT_IMAGES action object.
* @param {string} productId The ID of the product.
* @param {string} errorCode errorCode
* @return {Object} The ERROR_PRODUCT_IMAGES action.
*/var errorProductImages=function errorProductImages(productId,errorCode){return{type:ERROR_PRODUCT_IMAGES,productId:productId,errorCode:errorCode};};export default errorProductImages;