Skip to content

Commit

Permalink
fix: [GSW-1956] claim all button visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
tfrg committed Nov 19, 2024
1 parent fc21f7a commit 90c4825
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ const MyDelegation: React.FC<MyDelegationProps> = ({
}
tooltip={t("Governance:myDel.reward.tooltip")}
valueButton={
myDelegationInfo.claimableRewardsUsd
visibleRewardInfoTooltip
? {
text: t("Governance:myDel.reward.btn"),
onClick: () => {
Expand All @@ -316,7 +316,7 @@ const MyDelegation: React.FC<MyDelegationProps> = ({
}),
);
},
disabled: !myDelegationInfo.claimableRewardsUsd,
disabled: !visibleRewardInfoTooltip,
}
: undefined
}
Expand Down

0 comments on commit 90c4825

Please sign in to comment.