/*
 * File: useCaseQueue.ts
 * Description: Custom hook for accessing the case queue from redux
 * Design & Developed by Tech4Biz Solutions
 * Copyright (c) Spurrin Innovations. All rights reserved.
 */

import { useSelector } from 'react-redux';
import { selectCaseQueue } from '../redux/dashboardSelectors';

/**
 * useCaseQueue - returns the current case queue from redux state
 */
export const useCaseQueue = () => {
  return useSelector(selectCaseQueue);
};

/*
 * End of File: useCaseQueue.ts
 * Design & Developed by Tech4Biz Solutions
 * Copyright (c) Spurrin Innovations. All rights reserved.
 */ 