2017-12-21 18:08:54 -03:00
|
|
|
import { connect } from 'react-redux';
|
2019-02-04 12:45:30 -05:00
|
|
|
import { selectReferralReward, selectUserInvitees, selectUserInviteStatusIsPending } from 'lbryinc';
|
2017-12-21 18:08:54 -03:00
|
|
|
import InviteList from './view';
|
2017-08-17 23:31:44 -04:00
|
|
|
|
|
|
|
const select = state => ({
|
|
|
|
invitees: selectUserInvitees(state),
|
|
|
|
isPending: selectUserInviteStatusIsPending(state),
|
2019-02-04 12:45:30 -05:00
|
|
|
referralReward: selectReferralReward(state),
|
2017-08-17 23:31:44 -04:00
|
|
|
});
|
|
|
|
|
2018-09-23 23:44:42 -04:00
|
|
|
const perform = () => ({});
|
2017-08-17 23:31:44 -04:00
|
|
|
|
2018-09-23 23:44:42 -04:00
|
|
|
export default connect(
|
|
|
|
select,
|
|
|
|
perform
|
|
|
|
)(InviteList);
|