Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(wallet): fix tooltip text of Total Staked of Wallet #4146

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions apps/wallet/src/ui/app/staking/stake/ValidatorFormDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,14 @@ export function ValidatorFormDetail({ validatorAddress, unstake }: ValidatorForm
<div className="flex flex-col gap-y-sm p-md">
<KeyValueInfo
keyText="Staking APY"
tooltipPosition={TooltipPosition.Right}
tooltipPosition={TooltipPosition.Bottom}
tooltipText="Annualized percentage yield based on past validator performance. Future APY may vary"
value={formatPercentageDisplay(apy, '--', isApyApproxZero)}
fullwidth
/>
<KeyValueInfo
keyText="Stake Share"
tooltipPosition={TooltipPosition.Right}
tooltipPosition={TooltipPosition.Bottom}
tooltipText="Stake percentage managed by this validator."
value={formatPercentageDisplay(totalStakePercentage)}
fullwidth
Expand All @@ -139,15 +139,15 @@ export function ValidatorFormDetail({ validatorAddress, unstake }: ValidatorForm
<>
<KeyValueInfo
keyText="Total Staked"
tooltipPosition={TooltipPosition.Right}
tooltipText="Stake percentage managed by this validator."
tooltipPosition={TooltipPosition.Bottom}
tooltipText="The full amount of IOTA staked by this validator and delegators for network validation and rewards."
value={totalValidatorStakeFormatted}
supportingLabel={totalValidatorStakeSymbol}
fullwidth
/>
<KeyValueInfo
keyText="Your Staked IOTA"
tooltipPosition={TooltipPosition.Right}
tooltipPosition={TooltipPosition.Bottom}
tooltipText="Your current staked balance."
value={totalStakeFormatted}
supportingLabel={totalStakeSymbol}
Expand Down
Loading