Skip to content

Commit

Permalink
APT-1812 - Claims wording change (#85)
Browse files Browse the repository at this point in the history
Available to claim → Available withdrawals

Available Rewards → Available rewards
  • Loading branch information
Lama1403 authored Feb 21, 2025
1 parent d85ee16 commit 5107148
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/components/stakingPoolDetailsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ const StakingPoolDetailsView: React.FC<StakingPoolDetailsViewProps> = ({
: "-"
)}
{colorInfoEntry(
"Available to claim",
"Available withdrawals",
availableToClaim
? `${humanReadableStakingToken(availableToClaim)} ${
stakingPoolData.definition.tokenSymbol
Expand Down Expand Up @@ -355,7 +355,7 @@ const StakingPoolDetailsView: React.FC<StakingPoolDetailsViewProps> = ({
}
>
{asideColorInfoEntry(
"Available Withdrawals",
"Available withdrawals",
!!availableUnstake?.length
? availableUnstake
.map(
Expand All @@ -367,7 +367,7 @@ const StakingPoolDetailsView: React.FC<StakingPoolDetailsViewProps> = ({
)}
{stakingPoolForView != null &&
asideColorInfoEntry(
"Available Rewards",
"Available rewards",
stakingPoolForView.userData.reward
? `${parseFloat(formatUnits(stakingPoolForView.userData.reward?.zilRewardAmount ?? "0", 18)).toFixed(5)} ZIL`
: "-"
Expand Down Expand Up @@ -427,7 +427,7 @@ const StakingPoolDetailsView: React.FC<StakingPoolDetailsViewProps> = ({
: "-"
)}
{colorInfoEntry(
"Available Withdrawals",
"Available withdrawals",
!!availableUnstake?.length
? availableUnstake
.map(
Expand All @@ -439,7 +439,7 @@ const StakingPoolDetailsView: React.FC<StakingPoolDetailsViewProps> = ({
)}
{stakingPoolForView != null &&
colorInfoEntry(
"Available Rewards",
"Available rewards",
stakingPoolForView.userData.reward
? `${parseFloat(formatUnits(stakingPoolForView.userData.reward?.zilRewardAmount ?? "0", 18)).toFixed(5)} ZIL`
: "-"
Expand Down
4 changes: 2 additions & 2 deletions src/components/withdrawUnstakedZilPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const WithdrawZilPanel: React.FC<WithdrawZilPanelProps> = ({
: "text-purple5"
}`}
>
Available Rewards
Available rewards
</span>
</div>
<div>
Expand Down Expand Up @@ -169,7 +169,7 @@ const WithdrawZilPanel: React.FC<WithdrawZilPanelProps> = ({
: "text-purple5"
}`}
>
Available Withdrawals
Available withdrawals
</span>
</div>
<div>
Expand Down

0 comments on commit 5107148

Please sign in to comment.