From 4d799f72ce96ba81aad239897eeb0e2148928f11 Mon Sep 17 00:00:00 2001 From: Federico Mastrini Date: Fri, 17 Jan 2025 12:17:29 +0100 Subject: [PATCH] chore: remove `Object.assign` --- ts/store/reducers/debug.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ts/store/reducers/debug.ts b/ts/store/reducers/debug.ts index 586038d6871..b6ab427f626 100644 --- a/ts/store/reducers/debug.ts +++ b/ts/store/reducers/debug.ts @@ -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 {