2018-10-03 12:08:14 -07:00
|
|
|
import { AppState as S } from 'store/reducers';
|
|
|
|
|
2019-01-28 14:46:04 -08:00
|
|
|
export const getIsVerified = (s: S) => !!s.auth.user && s.auth.user.emailVerified;
|
2018-11-08 11:38:00 -08:00
|
|
|
export const getIsSignedIn = (s: S) => !!s.auth.user;
|
2018-11-07 11:08:42 -08:00
|
|
|
export const getAuthSignature = (s: S) => s.auth.authSignature;
|
|
|
|
export const getAuthSignatureAddress = (s: S) => s.auth.authSignatureAddress;
|