1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00
This commit is contained in:
muerwre 2019-08-06 18:21:19 +07:00
parent 56d714d655
commit e0bba90d2e
12 changed files with 264 additions and 89 deletions

View file

@ -1,4 +1,5 @@
import {IState} from "~/redux/store";
import { IState } from "~/redux/store";
export const selectUser = (state: IState): IState['auth']['user'] => state.auth.user;
export const selectToken = (state: IState): IState['auth']['token'] => state.auth.token;
export const selectAuthLogin = (state: IState): IState['auth']['login'] => state.auth.login;