fix: totalBalance
whoops!
This commit is contained in:
parent
4eb3f50271
commit
fe4ae1568e
2 changed files with 2 additions and 2 deletions
2
dist/bundle.es.js
vendored
2
dist/bundle.es.js
vendored
|
@ -1887,7 +1887,7 @@ function creditsToString(amount) {
|
|||
function doUpdateBalance() {
|
||||
return (dispatch, getState) => {
|
||||
const {
|
||||
wallet: { total: totalInStore }
|
||||
wallet: { totalBalance: totalInStore }
|
||||
} = getState();
|
||||
lbryProxy.account_balance({ reserved_subtotals: true }).then(response => {
|
||||
const { available, reserved, reserved_subtotals, total } = response;
|
||||
|
|
|
@ -8,7 +8,7 @@ import { selectMyClaimsRaw } from 'redux/selectors/claims';
|
|||
export function doUpdateBalance() {
|
||||
return (dispatch, getState) => {
|
||||
const {
|
||||
wallet: { total: totalInStore },
|
||||
wallet: { totalBalance: totalInStore },
|
||||
} = getState();
|
||||
Lbry.account_balance({reserved_subtotals: true}).then((response: BalanceResponse) => {
|
||||
const { available, reserved, reserved_subtotals, total } = response;
|
||||
|
|
Loading…
Add table
Reference in a new issue