lbryinc/src/redux/selectors/auth.js
Akinwale Ariwodola 62f0b58073
fixes and updates for authentication flow ()
* fixes and updates for authentication flow
* add action and reducer for setting emailToVerify in the state
2018-08-17 19:10:52 +01:00

7 lines
277 B
JavaScript

import { createSelector } from 'reselect';
const selectState = state => state.auth || {};
export const selectAuthToken = createSelector(selectState, state => state.authToken);
export const selectIsAuthenticating = createSelector(selectState, state => state.authenticating);