import React from "react"; import { Icon } from "component/common"; import RewardLink from "component/rewardLink"; import rewards from "rewards.js"; class InviteList extends React.PureComponent { render() { const { invitees } = this.props; if (!invitees) { return null; } return (

{__("Invite History")}

{invitees.length === 0 && {__("You haven't invited anyone.")} } {invitees.length > 0 && {invitees.map((invitee, index) => { return ( ); })}
{__("Invitee Email")} {__("Invite Status")} {__("Reward")}
{invitee.email} {invitee.invite_accepted ? : {__("unused")}} {invitee.invite_reward_claimed ? : invitee.invite_accepted ? : {__("unclaimable")} }
}
{__( "The maximum number of invite rewards is currently limited. Invite reward can only be claimed if the invitee passes the humanness test." )}
); } } export default InviteList;