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 {