added logout functions to clear store
This commit is contained in:
@@ -15,3 +15,9 @@ export const setAccountDetails = (accountDetails) => (dispatch) => {
|
||||
accountDetails: accountDetails,
|
||||
});
|
||||
};
|
||||
|
||||
export const setLogout = () => (dispatch) => {
|
||||
return dispatch({
|
||||
type: "USER_LOGOUT",
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user