move reward code to bottom of rewards list #1993

Merged
neb-b merged 1 commit from reward-codes into master 2018-10-02 17:37:19 +02:00

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>
);
}