lbry-desktop/ui/page/wallet/index.js
2021-07-05 10:02:03 -04:00

13 lines
302 B
JavaScript

import { connect } from 'react-redux';
import { selectTotalBalance } from 'lbry-redux';
import { doOpenModal } from 'redux/actions/app';
import Wallet from './view';
const select = state => ({
totalBalance: selectTotalBalance(state),
});
export default connect(select, {
doOpenModal,
})(Wallet);