do not display reward summary if the user is approved for rewards
This commit is contained in:
parent
6719953cf1
commit
8a862439cc
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class RewardSummary extends React.Component {
|
|||
render() {
|
||||
const { fetching, navigation, unclaimedRewardAmount, user } = this.props;
|
||||
|
||||
if (this.state.actionsLeft === 0 || unclaimedRewardAmount === 0) {
|
||||
if ((user && user.is_reward_approved) || this.state.actionsLeft === 0 || unclaimedRewardAmount === 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue