11 lines
321 B
JavaScript
11 lines
321 B
JavaScript
import { createSelector } from 'reselect';
|
|
|
|
export const storeName = 'commonComponents';
|
|
|
|
export const commonComponentsSelector = state => ({ ...state[storeName] });
|
|
|
|
export const thirdPartyAuthContextSelector = createSelector(
|
|
commonComponentsSelector,
|
|
commonComponents => commonComponents.thirdPartyAuthContext,
|
|
);
|