14 lines
482 B
JavaScript
14 lines
482 B
JavaScript
import { connect } from 'react-redux';
|
|
import { selectReferralReward } from 'redux/selectors/rewards';
|
|
import { selectUserInvitees, selectUserInviteStatusIsPending } from 'redux/selectors/user';
|
|
import InviteList from './view';
|
|
|
|
const select = state => ({
|
|
invitees: selectUserInvitees(state),
|
|
isPending: selectUserInviteStatusIsPending(state),
|
|
referralReward: selectReferralReward(state),
|
|
});
|
|
|
|
const perform = () => ({});
|
|
|
|
export default connect(select, perform)(InviteList);
|