@empathyco/x-components
Version:
Empathy X Components
14 lines (12 loc) • 339 B
JavaScript
/**
* Default implementation setUrlParams.
*
* @param context - The context of the actions, provided by Vuex.
* @param urlParams - List of params from the url.
* @public
*/
const setUrlParams = ({ commit }, { query }) => {
commit('setQuery', query);
};
export { setUrlParams };
//# sourceMappingURL=set-url-params.action.js.map