fix: totalBalance

whoops!
This commit is contained in:
Thomas Zarebczan 2019-09-25 01:37:02 -04:00
parent 4eb3f50271
commit fe4ae1568e
2 changed files with 2 additions and 2 deletions

2
dist/bundle.es.js vendored
View file

@ -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;

View file

@ -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;