Merge from git

This commit is contained in:
2021-11-01 11:21:39 +00:00
parent adcff32d73
commit d94b3b3e5a
210 changed files with 69742 additions and 3359 deletions
+7
View File
@@ -2,14 +2,21 @@ import { myRepresentationsActionTypes } from "./action";
const myRepresentationsInitialState = {
myRepresentations: {},
myRepresentationsDetails: {},
};
export default function reducer(state = myRepresentationsInitialState, action) {
switch (action.type) {
case myRepresentationsActionTypes.SETMYREPRESENTATIONS:
return {
...state,
myRepresentations: action.myRepresentations,
};
case myRepresentationsActionTypes.SETMYREPRESENTATIONSDETAILS:
return {
...state,
myRepresentationsDetails: action.myRepresentationsDetails,
};
default:
return state;
}