2019-06-17 22:32:38 +02:00
|
|
|
import { connect } from 'react-redux';
|
2021-10-08 05:47:39 +02:00
|
|
|
import { selectTotalBalance } from 'redux/selectors/wallet';
|
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';
|
|
|
|
|
2021-10-08 05:47:39 +02:00
|
|
|
const select = (state) => ({
|
2021-02-05 18:46:07 +01:00
|
|
|
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);
|