1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

getting token / error

This commit is contained in:
muerwre 2019-08-03 12:12:23 +07:00
parent 956802d5a5
commit dc6f72baf1
26 changed files with 269 additions and 374 deletions

View file

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