Use more selectors

This commit is contained in:
Chi Vinh Le committed 2018-02-13 16:00:03 +01:00
1 parent c140a62822
commit 0f69df26f6
6 files changed
+16 -11

No files matched your search

+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');