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
Showing only changes of commit 5fad830618 - Show all commits

View file

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