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() {
|
function doUpdateBalance() {
|
||||||
return (dispatch, getState) => {
|
return (dispatch, getState) => {
|
||||||
const {
|
const {
|
||||||
wallet: { total: totalInStore }
|
wallet: { totalBalance: totalInStore }
|
||||||
} = getState();
|
} = getState();
|
||||||
lbryProxy.account_balance({ reserved_subtotals: true }).then(response => {
|
lbryProxy.account_balance({ reserved_subtotals: true }).then(response => {
|
||||||
const { available, reserved, reserved_subtotals, total } = response;
|
const { available, reserved, reserved_subtotals, total } = response;
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { selectMyClaimsRaw } from 'redux/selectors/claims';
|
||||||
export function doUpdateBalance() {
|
export function doUpdateBalance() {
|
||||||
return (dispatch, getState) => {
|
return (dispatch, getState) => {
|
||||||
const {
|
const {
|
||||||
wallet: { total: totalInStore },
|
wallet: { totalBalance: totalInStore },
|
||||||
} = getState();
|
} = getState();
|
||||||
Lbry.account_balance({reserved_subtotals: true}).then((response: BalanceResponse) => {
|
Lbry.account_balance({reserved_subtotals: true}).then((response: BalanceResponse) => {
|
||||||
const { available, reserved, reserved_subtotals, total } = response;
|
const { available, reserved, reserved_subtotals, total } = response;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue