lbry-desktop/ui/page/wallet/index.js

13 lines
302 B
JavaScript
Raw Normal View History

2019-06-17 22:32:38 +02:00
import { connect } from 'react-redux';
import { selectTotalBalance } from 'lbry-redux';
2020-06-01 19:03:19 +02:00
import { doOpenModal } from 'redux/actions/app';
2019-06-17 22:32:38 +02:00
import Wallet from './view';
2020-06-01 19:03:19 +02:00
const select = state => ({
totalBalance: selectTotalBalance(state),
2020-06-01 19:03:19 +02:00
});
2019-06-17 22:32:38 +02:00
2020-06-01 19:03:19 +02:00
export default connect(select, {
doOpenModal,
})(Wallet);