UNPKG

@shopgate/pwa-common-commerce

Version:

Commerce library for the Shopgate Connect PWA.

12 lines (11 loc) 342 B
import { ERROR_PRODUCT_REVIEWS } from "../constants"; /** * Dispatches the ERROR_PRODUCT_REVIEWS action. * @param {string} productId The ID of the product * @returns {Object} The ERROR_PRODUCT_REVIEWS action */ const errorProductReviews = productId => ({ type: ERROR_PRODUCT_REVIEWS, productId }); export default errorProductReviews;