lbry-desktop/src/renderer/component/walletSend/index.js

14 lines
346 B
JavaScript
Raw Normal View History

import { connect } from 'react-redux';
import { selectBalance, doNotify } from 'lbry-redux';
import WalletSend from './view';
2018-03-26 23:32:43 +02:00
const perform = dispatch => ({
openModal: (modal, props) => dispatch(doNotify(modal, props)),
2017-06-06 06:21:55 +02:00
});
2018-03-26 23:32:43 +02:00
const select = state => ({
balance: selectBalance(state),
2017-06-06 06:21:55 +02:00
});
2017-06-06 06:21:55 +02:00
export default connect(select, perform)(WalletSend);