verdnatura-chat/app/ee/omnichannel/selectors/inquiry.ts

8 lines
270 B
TypeScript

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