updated storage account stuff to take auth id

This commit is contained in:
2022-08-26 15:19:34 +01:00
parent 671d49c394
commit 862a953aae
18 changed files with 346 additions and 133 deletions
+6
View File
@@ -5,6 +5,7 @@ const AccountDetailsDataInitialState = {
loggedinUserId: "",
accCr: false,
cookieObj: "",
containerID: "",
};
export default function reducer(
@@ -32,6 +33,11 @@ export default function reducer(
...state,
cookieObj: action.cookieObj,
};
case AccountDetailsDataActionTypes.SETCONTAINERID:
return {
...state,
containerID: action.containerID,
};
default:
return state;
}