@shopgate/engage
Version:
Shopgate's ENGAGE library.
5 lines • 366 B
JavaScript
import{SELECT_GLOBAL_LOCATION}from"../constants";/**
* Creates the dispatched SELECT_GLOBAL_LOCATION action object.
* @param {Object} location The location data to store for the use.
* @returns {Object}
*/var selectGlobalLocation=function selectGlobalLocation(location){return{type:SELECT_GLOBAL_LOCATION,location:location};};export default selectGlobalLocation;