@shopgate/engage
Version:
Shopgate's ENGAGE library.
6 lines • 407 B
JavaScript
import{RECEIVE_LOCATIONS}from"../constants";/**
* Creates the dispatched RECEIVE_LOCATIONS action object.
* @param {Object[]} filters filters.
* @param {Object[]} locations locations.
* @return {Object} The RECEIVE_LOCATIONS action.
*/var receiveLocations=function receiveLocations(filters,locations){return{type:RECEIVE_LOCATIONS,locations:locations,filters:filters};};export default receiveLocations;