This repository was archived by the owner on Oct 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import { utils } from 'ts/utils/utils';
88
99import { CircleCheckMark } from 'ts/components/ui/circle_check_mark' ;
1010import { generateUniqueId , Jazzicon } from 'ts/components/ui/jazzicon' ;
11- import { formatPercent } from 'ts/utils/format_number' ;
11+ import { formatPercent , formatEther } from 'ts/utils/format_number' ;
1212
1313const StyledStatLabel = styled . div `
1414 position: relative;
@@ -96,6 +96,10 @@ export const StakingPoolDetailRow: React.FC<IStakingPoolDetailRowProps> = ({
9696 </ StyledStatLabel >
9797 </ div >
9898 </ PoolPerformanceItem >
99+ < PoolPerformanceItem >
100+ < span > Fees generated</ span >
101+ < span > { formatEther ( totalFeesGeneratedInEth || 0 , { decimals : 2 } ) . formatted } ETH</ span >
102+ </ PoolPerformanceItem >
99103 < PoolPerformanceItem style = { { flex : 'none' } } >
100104 < span > Saturation</ span >
101105 < div >
@@ -231,6 +235,7 @@ const PoolPerformanceItem = styled.div<{ cutOffRem?: number }>`
231235 border-left: 1px solid #d9d9d9;
232236 height: 47px;
233237 padding-left: 20px;
238+ padding-right: 20px;
234239 }
235240` ;
236241
You can’t perform that action at this time.
0 commit comments