From ecf356700a58533dec48763355df1d59a68fa268 Mon Sep 17 00:00:00 2001 From: Yostra Date: Mon, 17 Aug 2020 20:15:09 -0700 Subject: [PATCH] state --- electron-react/src/modules/incoming_api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electron-react/src/modules/incoming_api.js b/electron-react/src/modules/incoming_api.js index 03a7695d45..b20856c78a 100644 --- a/electron-react/src/modules/incoming_api.js +++ b/electron-react/src/modules/incoming_api.js @@ -176,7 +176,7 @@ export const incomingReducer = (state = { ...initial_state }, action) => { wallet.balance_frozen = frozen_balance; wallet.balance_spendable = spendable_balance; wallet.balance_change = change_balance; - return state; + return { ...state }; } } else if (command === "get_transactions") { if (data.success) { @@ -188,7 +188,7 @@ export const incomingReducer = (state = { ...initial_state }, action) => { return state; } wallet.transactions = transactions.reverse(); - return state; + return { ...state }; } } else if (command === "get_next_puzzle_hash") { id = data.wallet_id;