diff --git a/dist/bundle.es.js b/dist/bundle.es.js index 62abc47..c3ab516 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -1915,7 +1915,7 @@ function doUpdateBalance() { const { wallet: { totalBalance: totalInStore } } = getState(); - lbryProxy.account_balance({ reserved_subtotals: true }).then(response => { + return lbryProxy.account_balance({ reserved_subtotals: true }).then(response => { const { available, reserved, reserved_subtotals, total } = response; const { claims, supports, tips } = reserved_subtotals; const totalFloat = parseFloat(total); diff --git a/src/redux/actions/wallet.js b/src/redux/actions/wallet.js index cff22d7..7d42dca 100644 --- a/src/redux/actions/wallet.js +++ b/src/redux/actions/wallet.js @@ -10,7 +10,7 @@ export function doUpdateBalance() { const { wallet: { totalBalance: totalInStore }, } = getState(); - Lbry.account_balance({reserved_subtotals: true}).then((response: BalanceResponse) => { + return Lbry.account_balance({ reserved_subtotals: true }).then((response: BalanceResponse) => { const { available, reserved, reserved_subtotals, total } = response; const { claims, supports, tips } = reserved_subtotals; const totalFloat = parseFloat(total);