Skip to content

Commit

Permalink
redundant %
Browse files Browse the repository at this point in the history
  • Loading branch information
namgold committed Sep 11, 2023
1 parent 1518d5a commit bc09362
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/YieldPools/FarmingPoolAPRCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ const FarmingPoolAPRCell: React.FC<Props> = ({
text={<APRTooltipContent farmAPR={farmAPR} farmV2APR={farmV2APR} poolAPR={poolAPR} />}
>
<Text as="span" marginRight="4px">
{formatDisplayNumber({ value: (poolAPR + maxFarmAPR) / 100, style: 'percent', fractionDigits: 2 })}%
{formatDisplayNumber({ value: (poolAPR + maxFarmAPR) / 100, style: 'percent', fractionDigits: 2 })}
</Text>
<Info size={14} />
</MouseoverTooltip>
Expand All @@ -219,7 +219,7 @@ export const ClassicFarmingPoolAPRCell = ({ poolAPR, farm }: { poolAPR: number;
}}
>
<Text as="span">
{formatDisplayNumber({ value: (poolAPR + farmAPR) / 100, style: 'percent', fractionDigits: 2 })}%
{formatDisplayNumber({ value: (poolAPR + farmAPR) / 100, style: 'percent', fractionDigits: 2 })}
</Text>
<MouseoverTooltip width="fit-content" text={<APRTooltipContent farmAPR={farmAPR} poolAPR={poolAPR} />}>
<MoneyBag size={16} color={theme.apr} />
Expand Down

0 comments on commit bc09362

Please sign in to comment.