lbry-desktop/src/renderer/component/walletSend/index.js
2018-06-01 13:22:41 -04:00

13 lines
346 B
JavaScript

import { connect } from 'react-redux';
import { selectBalance, doNotify } from 'lbry-redux';
import WalletSend from './view';
const perform = dispatch => ({
openModal: (modal, props) => dispatch(doNotify(modal, props)),
});
const select = state => ({
balance: selectBalance(state),
});
export default connect(select, perform)(WalletSend);