lbry-desktop/ui/component/walletTipAmountSelector/index.js

10 lines
261 B
JavaScript
Raw Normal View History

2021-04-23 21:59:48 +02:00
import { connect } from 'react-redux';
import { selectBalance } from 'lbry-redux';
import WalletTipAmountSelector from './view';
const select = (state, props) => ({
balance: selectBalance(state),
});
export default connect(select)(WalletTipAmountSelector);