Skip to content

Commit

Permalink
Merge pull request #11381 from brave/pr11371_ksmith-zero-value-grant_…
Browse files Browse the repository at this point in the history
…1.33.x

Do not show grant notification on new tab if grant amount is zero (uplift to 1.33.x)
  • Loading branch information
kjozwiak authored Dec 2, 2021
2 parents 757bcf3 + 829baa9 commit 39f9422
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export function RewardsCard (props: Props) {
}

function renderBalance () {
if (props.grantInfo) {
if (props.grantInfo && props.grantInfo.amount > 0) {
return renderGrantOverlay()
}

Expand Down

0 comments on commit 39f9422

Please sign in to comment.