awaiting submissions from storage acc

This commit is contained in:
2022-09-05 16:46:30 +01:00
parent b0dde836b0
commit c66883b4c5
25 changed files with 653 additions and 69 deletions
+8 -1
View File
@@ -3,13 +3,13 @@ export const AccountDetailsDataActionTypes = {
GETACCOUNTDETAILSDATA: "GETACCOUNTDETAILSDATA",
SETACCOUNTDETAILSDATA: "SETACCOUNTDETAILSDATA",
SETLOGGEDINUSER: "SETLOGGEDINUSER",
SETLOGGEDINUSEREMAIL: "SETLOGGEDINUSEREMAIL",
SETACCOUNTCREATED: "SETACCOUNTCREATED",
USER_LOGOUT: "USER_LOGOUT",
SETCONTAINERID: "SETCONTAINERID",
};
export const setCookieConsent = (cookieObj) => (dispatch) => {
console.log("wertyewrtyt", cookieObj);
return dispatch({
type: AccountDetailsDataActionTypes.SETCOOKIECONSENT,
cookieObj: cookieObj,
@@ -36,6 +36,13 @@ export const setLoggedInUserId = (loggedinUserId) => (dispatch) => {
});
};
export const setLoggedInUserEmail = (loggedinUserEmail) => (dispatch) => {
return dispatch({
type: AccountDetailsDataActionTypes.SETLOGGEDINUSEREMAIL,
loggedinUserEmail: loggedinUserEmail,
});
};
export const setLogout = () => (dispatch) => {
return dispatch({
type: "USER_LOGOUT",