From b96e6ee9cea6d1a1a363c34ad05fb6fd6967e92e Mon Sep 17 00:00:00 2001 From: Sam Keen Date: Tue, 17 Jan 2023 15:01:51 +0000 Subject: [PATCH] feat(2633): remove unneeded values in validator detail view (#2644) * feat(2633): remove overstaked amount * feat(2633): remove performance score --- .../src/routes/staking/node/validator-table.tsx | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/apps/token/src/routes/staking/node/validator-table.tsx b/apps/token/src/routes/staking/node/validator-table.tsx index 50066955e..c927e0fd0 100644 --- a/apps/token/src/routes/staking/node/validator-table.tsx +++ b/apps/token/src/routes/staking/node/validator-table.tsx @@ -16,7 +16,6 @@ import { useAppState } from '../../../contexts/app-state/app-state-context'; import * as Schema from '@vegaprotocol/types'; import { SubHeading } from '../../../components/heading'; import { - getFormattedPerformanceScore, getLastEpochScoreAndPerformance, getNormalisedVotingPower, getOverstakedAmount, @@ -207,24 +206,12 @@ export const ValidatorTable = ({ - - {t('OVERSTAKED AMOUNT')} - - {formatNumber(toBigNum(overstakedAmount.toNumber(), decimals))} - - {t('OVERSTAKED PENALTY')} {getOverstakingPenalty(overstakedAmount, node.stakedTotal)} - - {t('PERFORMANCE SCORE')} - - {getFormattedPerformanceScore(performanceScore).toString()} - - {t('PERFORMANCE PENALTY')} {getPerformancePenalty(performanceScore)}