vn-verdnaturachat/app/ee/omnichannel/selectors/inquiry.ts

8 lines
270 B
TypeScript
Raw Normal View History

import { createSelector } from 'reselect';
import { IApplicationState } from '../../../definitions';
const getInquiryQueue = (state: IApplicationState) => state.inquiry.queued;
export const getInquiryQueueSelector = createSelector([getInquiryQueue], queue => queue);