Skip to content

Commit

Permalink
chore: rm after commission
Browse files Browse the repository at this point in the history
  • Loading branch information
rossbulat committed Jan 1, 2025
1 parent 0d5faab commit d9854bd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/app/src/pages/Overview/Stats/AveragelRewardRate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d9854bd

Please sign in to comment.