diff --git a/src/features/core/components/base.tsx b/src/features/core/components/base.tsx index ad557fe..455974a 100644 --- a/src/features/core/components/base.tsx +++ b/src/features/core/components/base.tsx @@ -42,11 +42,13 @@ export const HeroText = ({ export const Heading2 = ({ children, className = "", + responsive = false, title, -}: TypographyProps) => ( +}: TypographyProps & { responsive?: boolean }) => (
{ }} >
-
- Validator logo -
-
- {validatorDetails.description.moniker || ""} -
- {hasStakedInValidator && ( -
- You staked +
+
+ Validator logo +
+
+ {validatorDetails.description.moniker || ""}
- )} + {hasStakedInValidator && ( +
+ You staked +
+ )} +
{validatorDetails.status === BondStatus.BOND_STATUS_BONDED && ( -
+
)}
- -
+ +
Total Stake (XION)
- {formatToSmallDisplay(totalStakeBN)} + + {formatToSmallDisplay(totalStakeBN)} +
{formatXionToUSD(getXionCoin(totalStakeBN))} @@ -158,7 +163,7 @@ export default function ValidatorPage() {
Commission Rate
- + {formatCommission( validatorDetails.commission.commissionRates.rate, 2, @@ -172,7 +177,7 @@ export default function ValidatorPage() {
Voting Power
- {votingPowerPercStr} + {votingPowerPercStr}
@@ -181,7 +186,7 @@ export default function ValidatorPage() {
My Delegation (XION)
- + {myDelegationToValidator ? formatToSmallDisplay( new BigNumber( @@ -196,9 +201,9 @@ export default function ValidatorPage() {
- -
-
+ +
+
XION Address
{validatorDetails.operatorAddress}{" "}