madiator.com/ui/page/wallet/index.js

13 lines
302 B
JavaScript
Raw Normal View History

2021-08-16 12:11:25 +02:00
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);