2019-06-17 16:32:38 -04:00
|
|
|
import { connect } from 'react-redux';
|
2021-02-05 12:46:07 -05:00
|
|
|
import { selectTotalBalance } from 'lbry-redux';
|
2020-06-01 13:03:19 -04:00
|
|
|
import { doOpenModal } from 'redux/actions/app';
|
2019-06-17 16:32:38 -04:00
|
|
|
import Wallet from './view';
|
|
|
|
|
2020-06-01 13:03:19 -04:00
|
|
|
const select = state => ({
|
2021-02-05 12:46:07 -05:00
|
|
|
totalBalance: selectTotalBalance(state),
|
2020-06-01 13:03:19 -04:00
|
|
|
});
|
2019-06-17 16:32:38 -04:00
|
|
|
|
2020-06-01 13:03:19 -04:00
|
|
|
export default connect(select, {
|
|
|
|
doOpenModal,
|
|
|
|
})(Wallet);
|