UNPKG

@empathyco/x-components

Version:
16 lines (14 loc) 402 B
/** * 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, prompt }) => { commit('setQuery', query); commit('setSelectedPrompt', prompt); }; export { setUrlParams }; //# sourceMappingURL=set-url-params.action.js.map