Skip to content

Commit

Permalink
chore: remove Object.assign
Browse files Browse the repository at this point in the history
  • Loading branch information
mastro993 committed Jan 17, 2025
1 parent 2a14520 commit 4d799f7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ts/store/reducers/debug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@ function debugReducer(
case getType(setDebugData):
return {
...state,
debugData: Object.assign({}, state.debugData, action.payload)
debugData: {
...state.debugData,
...action.payload
}
};
case getType(resetDebugData):
return {
Expand Down

0 comments on commit 4d799f7

Please sign in to comment.