@empathyco/x-components
Version:
Empathy X Components
14 lines (12 loc) • 461 B
JavaScript
/**
* Default implementation for the {@link AiGetters.currentQuestionLoading} getter.
*
* @param state - Current {@link https://vuex.vuejs.org/guide/state.html | state} of the ai
* module.
* @returns The loading value of the current question.
*
* @public
*/
const currentQuestionLoading = ({ questionsByQuery, query, }) => questionsByQuery[query]?.loading;
export { currentQuestionLoading };
//# sourceMappingURL=current-question-loading.getter.js.map