mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
eslint
This commit is contained in:
parent
d9a56255c5
commit
9a8e5efd1a
4 changed files with 27 additions and 12 deletions
|
@ -1,5 +1,6 @@
|
|||
import { IState } from '~/redux/store';
|
||||
|
||||
export const selectAuth = (state: IState): IState['auth'] => state.auth;
|
||||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue