check for claimed.length
This commit is contained in:
parent
7f2ad622e3
commit
c2ec93b133
1 changed files with 1 additions and 1 deletions
|
@ -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."
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue