diff --git a/ui/page/wallet/index.js b/ui/page/wallet/index.js index a5897410d..2e51e48c3 100644 --- a/ui/page/wallet/index.js +++ b/ui/page/wallet/index.js @@ -1,10 +1,10 @@ import { connect } from 'react-redux'; -import { selectBalance } from 'lbry-redux'; +import { selectTotalBalance } from 'lbry-redux'; import { doOpenModal } from 'redux/actions/app'; import Wallet from './view'; const select = state => ({ - balance: selectBalance(state), + totalBalance: selectTotalBalance(state), }); export default connect(select, { diff --git a/ui/page/wallet/view.jsx b/ui/page/wallet/view.jsx index bad237ff6..dc323c1fa 100644 --- a/ui/page/wallet/view.jsx +++ b/ui/page/wallet/view.jsx @@ -10,14 +10,14 @@ import YrblWalletEmpty from 'component/yrblWalletEmpty'; type Props = { history: { action: string, push: string => void, replace: string => void }, location: { search: string, pathname: string }, - balance: number, + totalBalance: ?number, }; const WalletPage = (props: Props) => { - const { location, balance } = props; + const { location, totalBalance } = props; const { search } = location; - const showIntro = balance === 0; - const loading = balance === undefined; + const showIntro = totalBalance === 0; + const loading = totalBalance === undefined; return (