move reward code to bottom of rewards list

This commit is contained in:
Sean Yesmunt 2018-10-02 11:11:48 -04:00
parent 3357d14d9c
commit 5fad830618

View file

@ -126,6 +126,7 @@ class RewardsPage extends React.PureComponent<Props> {
'card--disabled': isNotEligible,
})}
>
{rewards.map(reward => <RewardTile key={reward.reward_type} reward={reward} />)}
<RewardTile
key={REWARD_TYPES.TYPE_GENERATED_CODE}
reward={{
@ -136,7 +137,6 @@ class RewardsPage extends React.PureComponent<Props> {
),
}}
/>
{rewards.map(reward => <RewardTile key={reward.reward_type} reward={reward} />)}
</div>
);
}