Skip to content

Commit

Permalink
change clear method
Browse files Browse the repository at this point in the history
  • Loading branch information
AQingZeo committed Feb 26, 2025
1 parent 9710a46 commit 5a90795
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/transformStateWithClones.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,11 @@ function transformStateWithClones(state, actions) {
}
break;
case clrP :
Object.keys(dummy).forEach(key => delete dummy[key]);
dummy = {};
break;
default:
break;
}
console.log(action.type,dummy);
res.push(dummy);
}

Expand Down

0 comments on commit 5a90795

Please sign in to comment.