fetch rewards on page load #1754

Merged
daovist merged 3 commits from fetch-rewards into master 2018-07-15 02:10:22 +02:00
Showing only changes of commit c2ec93b133 - Show all commits

View file

@ -117,7 +117,7 @@ class RewardsPage extends React.PureComponent<Props> {
} else if (!rewards || rewards.length <= 0) {
return (
<div className="card__content">
{claimed && Object.keys(claimed).length
{claimed && claimed.length
? __(
"You have claimed all available rewards! We're regularly adding more so be sure to check back later."
)