19 lines
710 B
TypeScript
19 lines
710 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.profile.userProfile;
|
|
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.
|
|
*/
|