Fetched User data on Login, modified PrivateRoute logic

This commit is contained in:
Alexander Wong
2017-09-03 16:24:43 -06:00
parent 4cadf5df3a
commit e69773ac8e
15 changed files with 295 additions and 28 deletions

View File

@@ -0,0 +1,10 @@
// Reducer User Action Constants
export const IS_SENDING_USER_REQUEST = "IS_SENDING_USER_REQUEST";
export const SET_USER_REQUEST_ERROR = "SET_USER_REQUEST_ERROR";
export const CLEAR_USER_REQUEST_ERROR = "CLEAR_USER_REQUEST_ERROR";
export const SET_USER_REQUEST_SUCCESS = "SET_USER_REQUEST_SUCCESS";
export const CLEAR_USER_REQUEST_SUCCESS = "CLEAR_USER_REQUEST_SUCCESS";
export const SET_SELF_USER = "SET_SELF_USER";
// Saga User Action Constants
export const SEND_GET_SELF_USER_REQUEST = "SEND_GET_SELF_USER_REQUEST";