Skip to content

Commit

Permalink
transformStateWithClones #2
Browse files Browse the repository at this point in the history
  • Loading branch information
VolodymyrLiubyn committed Oct 13, 2023
1 parent 749ab6f commit 7527869
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/transformStateWithClones.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ function transformStateWithClones(state, actions) {
}

function transform(state, action) {
switch (action.type) {
const varAction = action.type;

switch (varAction) {
case 'addProperties':
Object.assign(state, action.extraData);
break;
Expand Down

0 comments on commit 7527869

Please sign in to comment.