diff --git a/app/admin/stats/components/AssetMetricsTable.tsx b/app/admin/stats/components/AssetMetricsTable.tsx index e51e4a8e..aaaad6a9 100644 --- a/app/admin/stats/components/AssetMetricsTable.tsx +++ b/app/admin/stats/components/AssetMetricsTable.tsx @@ -200,6 +200,7 @@ export function AssetMetricsTable({ data, selectedNetwork }: AssetMetricsTablePr diff --git a/app/history/components/HistoryTable.tsx b/app/history/components/HistoryTable.tsx index 0fb8cb57..ea298faa 100644 --- a/app/history/components/HistoryTable.tsx +++ b/app/history/components/HistoryTable.tsx @@ -54,11 +54,11 @@ export function HistoryTable({ account, positions, rebalancerInfo }: HistoryTabl // Get unique assets with their chain IDs const uniqueAssets = useMemo(() => { const assetMap = new Map(); - positions.forEach((pos) => { + positions.forEach((pos, idx) => { const market = markets.find((m) => m.uniqueKey === pos.market.uniqueKey); if (!market) return; - const key = `${market.loanAsset.symbol}-${market.morphoBlue.chain.id}`; + const key = `${market.loanAsset.symbol}-${market.morphoBlue.chain.id}-${idx}`; if (!assetMap.has(key)) { assetMap.set(key, { symbol: market.loanAsset.symbol, @@ -151,6 +151,7 @@ export function HistoryTable({ account, positions, rebalancerInfo }: HistoryTabl @@ -187,9 +188,9 @@ export function HistoryTable({ account, positions, rebalancerInfo }: HistoryTabl />