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

17 lines
352 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
});
2018-10-31 17:51:23 +01:00
export default connect(
select,
perform
)(WalletSend);