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

8 lines
263 B
JavaScript
Raw Normal View History

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