@empathyco/x-components
Version:
Empathy X Components
17 lines (14 loc) • 487 B
JavaScript
import { normalizeString } from '../../../../utils/normalize.js';
/**
* Default implementation for the {@link HistoryQueriesGetters.normalizedQuery} getter.
*
* @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the history
* queries module.
*
* @returns The normalized query.
*
* @public
*/
const normalizedQuery = ({ query }) => normalizeString(query);
export { normalizedQuery };
//# sourceMappingURL=normalized-query.getter.js.map