add cookie consent manger & updated cookie banner

This commit is contained in:
2021-10-14 19:35:32 +01:00
parent 54405e6943
commit aaaf889139
48 changed files with 818 additions and 119 deletions
+6
View File
@@ -4,6 +4,7 @@ const AccountDetailsDataInitialState = {
accountDetails: {},
loggedinUserId: "",
accCr: false,
cookieObj: "",
};
export default function reducer(
@@ -26,6 +27,11 @@ export default function reducer(
...state,
accCr: action.accCr,
};
case AccountDetailsDataActionTypes.SETCOOKIECONSENT:
return {
...state,
cookieObj: action.cookieObj,
};
default:
return state;
}