From 893b2037e5d00357572651452c30ad6d62c00247 Mon Sep 17 00:00:00 2001 From: Tom Beynon Date: Mon, 20 Jan 2025 14:25:28 +0000 Subject: [PATCH] Hide APY on mobile delegations tab --- src/components/Validators.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/Validators.js b/src/components/Validators.js index ab6def6e..c32e35d8 100644 --- a/src/components/Validators.js +++ b/src/components/Validators.js @@ -199,7 +199,7 @@ function Validators(props) { /> {network.apyEnabled && ( - + props.showValidator(validator, { activeTab: 'stake' })}> {props.validatorApy[validatorAddress] !== undefined ? {round(props.validatorApy[validatorAddress] * 100, 1).toLocaleString() + "%"} @@ -208,7 +208,7 @@ function Validators(props) { )} - + {format(validator.commission.commission_rates.rate * 100, 2)}% {props.isLoading('delegations') || Object.keys(delegations || {}).length ? ( @@ -356,7 +356,7 @@ function Validators(props) { Validator REStake {network.apyEnabled && ( - + APY} identifier="delegations-apy" @@ -368,7 +368,7 @@ function Validators(props) { )} - Fee + Fee {props.isLoading('delegations') || Object.keys(delegations || {}).length ? ( Delegation ) : null} @@ -396,9 +396,9 @@ function Validators(props) { {network.apyEnabled && ( - + )} - + {props.isLoading('delegations') || Object.keys(delegations || {}).length ? (