diff --git a/apps/frontend/src/components/MarketsView/MarketCollateralsTable.tsx b/apps/frontend/src/components/MarketsView/MarketCollateralsTable.tsx index 41cfeb76..644f4a1d 100644 --- a/apps/frontend/src/components/MarketsView/MarketCollateralsTable.tsx +++ b/apps/frontend/src/components/MarketsView/MarketCollateralsTable.tsx @@ -28,10 +28,7 @@ import { InfoIcon } from '../InfoIcon'; type TableRowProps = { assetId: string; - baseAsset: { - symbol: string; - decimals: number; - }; + symbol: string; decimals: number; totalSupply: BigNumber | undefined; @@ -43,7 +40,6 @@ type TableRowProps = { const MarketCollateralsTableRow = ({ assetId, - baseAsset, symbol, decimals, totalSupply, @@ -78,7 +74,7 @@ const MarketCollateralsTableRow = ({ {getFormattedPrice( - formatUnits(reserves ?? BigNumber(0), baseAsset.decimals) + formatUnits(reserves ?? BigNumber(0), decimals).times(price) )} @@ -169,10 +165,6 @@ export const MarketCollateralsTable = ({