@empathyco/x-components
Version:
Empathy X Components
15 lines (13 loc) • 432 B
JavaScript
/**
* Default implementation for the {@link HistoryQueriesActions.setUrlParams}.
*
* @param context - The {@link https://vuex.vuejs.org/guide/actions.html | 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