diff --git a/components/account/ActivityFeedTable.tsx b/components/account/ActivityFeedTable.tsx index 99fa8218..0f149d1c 100644 --- a/components/account/ActivityFeedTable.tsx +++ b/components/account/ActivityFeedTable.tsx @@ -51,7 +51,7 @@ const getFee = (activity: any, mangoAccountAddress: string) => { } if (activity_type === 'openbook_trade') { const { fee_cost, quote_symbol } = activity.activity_details - fee = { value: formatFee(fee_cost), symbol: quote_symbol } + fee = { value: fee_cost, symbol: quote_symbol } } return fee } @@ -258,7 +258,9 @@ const ActivityFeedTable = ({ - {(Number(fee.value) * value).toFixed(5)}{' '} + {activity_type === 'perp' + ? (Number(fee.value) * value).toFixed(5) + : fee.value}{' '} {fee.symbol} diff --git a/components/trade/TradeHistory.tsx b/components/trade/TradeHistory.tsx index 2c6da7c4..c17dad52 100644 --- a/components/trade/TradeHistory.tsx +++ b/components/trade/TradeHistory.tsx @@ -142,7 +142,7 @@ const formatTradeHistory = ( return tradeHistory.flat().map((event) => { let trade let market = selectedMarket - let time = 'Recent' + let time = '' if (isSerumFillEvent(event)) { trade = parseSerumEvent(event) } else if (isPerpFillEvent(event)) {