20 lines
735 B
TypeScript
20 lines
735 B
TypeScript
/*
|
|
* File: dashboardSelectors.ts
|
|
* Description: Selectors for Dashboard redux state
|
|
* Design & Developed by Tech4Biz Solutions
|
|
* Copyright (c) Spurrin Innovations. All rights reserved.
|
|
*/
|
|
|
|
import { RootState } from '../../../../app/redux/rootReducer';
|
|
|
|
export const selectCaseQueue = (state: RootState) => state.dashboard.caseQueue;
|
|
export const selectDashboardLoading = (state: RootState) => state.dashboard.loading;
|
|
export const selectDashboardError = (state: RootState) => state.dashboard.error;
|
|
export const selectPatients = (state: RootState) => state.dashboard.patientData;
|
|
|
|
|
|
/*
|
|
* End of File: dashboardSelectors.ts
|
|
* Design & Developed by Tech4Biz Solutions
|
|
* Copyright (c) Spurrin Innovations. All rights reserved.
|
|
*/
|