From d9854bd559cb2bbecffa4e67df2dc73d20e3a5ae Mon Sep 17 00:00:00 2001 From: Ross Bulat Date: Wed, 1 Jan 2025 13:49:50 +0700 Subject: [PATCH] chore: rm after commission --- .../app/src/pages/Overview/Stats/AveragelRewardRate.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/app/src/pages/Overview/Stats/AveragelRewardRate.tsx b/packages/app/src/pages/Overview/Stats/AveragelRewardRate.tsx index f120a6deb2..a72801e67a 100644 --- a/packages/app/src/pages/Overview/Stats/AveragelRewardRate.tsx +++ b/packages/app/src/pages/Overview/Stats/AveragelRewardRate.tsx @@ -9,15 +9,11 @@ export const AverageRewardRate = () => { const { t } = useTranslation('pages') const { getAverageRewardRate } = useAverageRewardRate() // Get the compounded Average Reward Rate. - const { avgRateBeforeCommission, avgRateAfterCommission } = - getAverageRewardRate(false) + const { avgRateBeforeCommission } = getAverageRewardRate(false) const params = { label: `${t('overview.averageRewardRate')}`, value: `${avgRateBeforeCommission.decimalPlaces(2).toFormat()}%`, - secondaryValue: `${avgRateAfterCommission.decimalPlaces(2).toFormat()}% ${t( - 'overview.afterCommission' - )}`, helpKey: 'Average Reward Rate', primary: true,