change message if all rewards redeemed

Change failed message to: "There are no rewards available at this time, please check back later."

This scenario happens when all rewards are claimed. Not sure if it can be encountered any other time.
This commit is contained in:
Thomas Zarebczan 2017-09-30 11:31:28 -04:00 committed by GitHub
parent 72ad1552cb
commit 7687f1ff93

View file

@ -114,7 +114,7 @@ class RewardsPage extends React.PureComponent {
} else if (!rewards || rewards.length <= 0) { } else if (!rewards || rewards.length <= 0) {
return ( return (
<div className="card__content empty"> <div className="card__content empty">
{__("Failed to load rewards.")} {__("There are no rewards available at this time, please check back later.")}
</div> </div>
); );
} else { } else {