Use more selectors

This commit is contained in:
Chi Vinh Le
2018-02-13 16:00:03 +01:00
parent c140a62822
commit 0f69df26f6
6 changed files with 16 additions and 11 deletions
+2
View File
@@ -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');