@shopgate/pwa-common-commerce
Version:
Commerce library for the Shopgate Connect PWA.
12 lines (11 loc) • 298 B
JavaScript
import { ERROR_REVIEWS } from "../constants";
/**
* Dispatches the ERROR_REVIEWS action.
* @param {string} hash Generated hash.
* @returns {Object} The ERROR_PRODUCT_REVIEWS action.
*/
const errorProductReviews = hash => ({
type: ERROR_REVIEWS,
hash
});
export default errorProductReviews;