Skip to content

Commit

Permalink
feat: use same label for normal networks
Browse files Browse the repository at this point in the history
  • Loading branch information
icfor committed Mar 21, 2024
1 parent 91cb289 commit 3b966bd
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,10 @@ const PopOver = ({

return networkSummary?.bonded > 0
? [
network.denom?.toUpperCase(),
convertToMoney(networkSummary.bonded),
t("votingPower"),
`${convertToMoney(
networkSummary.bonded,
)} ${network.denom?.toUpperCase()}`,
]
: null;
})();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,8 @@
flex-direction: column;
gap: 12px;
}

.labelValue {
color: #25282d;
font-weight: 600;
}
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,9 @@ const StakingModal = () => {
/>{" "}
APY
</Label>
<div>{(networkInfo.apy * 100).toFixed(0)}%</div>
<div className={styles.labelValue}>
{(networkInfo.apy * 100).toFixed(0)}%
</div>
</div>
)}
{unbondingPeriod && (
Expand All @@ -222,7 +224,7 @@ const StakingModal = () => {
/>{" "}
{t("stakingModal.unbonding")}
</Label>
<div>
<div className={styles.labelValue}>
{t("staking.days", {
count: unbondingPeriod.days,
})}
Expand Down

0 comments on commit 3b966bd

Please sign in to comment.