reverse order of claimed rewards

This commit is contained in:
Akinwale Ariwodola 2018-12-12 19:31:54 +01:00
parent b2fa6bb3a9
commit bf2b038632

View file

@ -133,7 +133,7 @@ class RewardsPage extends React.PureComponent {
if (claimed && claimed.length) { if (claimed && claimed.length) {
return ( return (
<View> <View>
{claimed.map(reward => <RewardCard key={reward.reward_type} reward={reward} />)} {claimed.reverse().map(reward => <RewardCard key={reward.reward_type} reward={reward} />)}
</View> </View>
); );
} }