mirror of
https://github.com/wassname/talk.git
synced 2026-07-13 04:27:33 +08:00
Use more selectors
This commit is contained in:
@@ -4,3 +4,5 @@ export const usernameStatusSelector = state =>
|
||||
get(state, 'auth.user.status.username.status');
|
||||
|
||||
export const usernameSelector = state => get(state, 'auth.user.username');
|
||||
|
||||
export const isLoggedInSelector = state => !!get(state, 'auth.user');
|
||||
|
||||
Reference in New Issue
Block a user