feat(governance): remove some performance info from validator mouseover (#2865)

This commit is contained in:
Sam Keen 2023-02-06 17:08:34 +00:00 committed by GitHub
parent faef98f0ae
commit 39cf8ad4d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -177,7 +177,7 @@ interface TotalPenaltiesRendererProps {
performanceScore: string;
performancePenalty: string;
overstakedAmount: string;
overstakedPenalty: string;
overstakingPenalty: string;
totalPenalties: string;
};
}
@ -192,20 +192,10 @@ export const TotalPenaltiesRenderer = ({
description={
<>
<div>
<span>
{t('performancePenalty')}: {data.performancePenalty}
</span>
<span className="pl-2">
({t('score')} {data.performanceScore})
</span>
{t('performancePenalty')}: {data.performancePenalty}
</div>
<div>
<span>
{t('overstakedPenalty')}: {data.overstakedPenalty}
</span>
<span className="pl-2">
({t('overstaked')} {data.overstakedAmount})
</span>
{t('overstakedPenalty')}: {data.overstakingPenalty}
</div>
<div>
{t('totalPenalties')}:{' '}