2017-12-21 22:08:54 +01:00
|
|
|
import { connect } from 'react-redux';
|
2020-06-15 22:33:03 +02:00
|
|
|
import { selectReferralReward } from 'redux/selectors/rewards';
|
|
|
|
import { selectUserInvitees, selectUserInviteStatusIsPending } from 'redux/selectors/user';
|
2017-12-21 22:08:54 +01:00
|
|
|
import InviteList from './view';
|
2017-08-18 05:31:44 +02:00
|
|
|
|
|
|
|
const select = state => ({
|
|
|
|
invitees: selectUserInvitees(state),
|
|
|
|
isPending: selectUserInviteStatusIsPending(state),
|
2019-02-04 18:45:30 +01:00
|
|
|
referralReward: selectReferralReward(state),
|
2017-08-18 05:31:44 +02:00
|
|
|
});
|
|
|
|
|
2018-09-24 05:44:42 +02:00
|
|
|
const perform = () => ({});
|
2017-08-18 05:31:44 +02:00
|
|
|
|
2020-06-15 22:33:03 +02:00
|
|
|
export default connect(select, perform)(InviteList);
|