NeoScan_Physician/app/modules/Profile/redux/profileSelectors.ts
2025-07-21 18:47:22 +05:30

19 lines
712 B
TypeScript

/*
* File: profileSelectors.ts
* Description: Selectors for Profile redux state
* Design & Developed by Tech4Biz Solutions
* Copyright (c) Spurrin Innovations. All rights reserved.
*/
import { RootState } from '../../../../app/redux/rootReducer';
export const selectUserProfile = (state: RootState) => state.auth.user;
export const selectProfileLoading = (state: RootState) => state.profile.loading;
export const selectProfileError = (state: RootState) => state.profile.error;
export const selectUserSettings = (state: RootState) => state.settings.settings;
/*
* End of File: profileSelectors.ts
* Design & Developed by Tech4Biz Solutions
* Copyright (c) Spurrin Innovations. All rights reserved.
*/