Skip to content

Commit b06a791

Browse files
committed
fixed sorting
1 parent 1d6a0d5 commit b06a791

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ui/components/app/assets/defi-list/defi-list.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ export default function DefiList({ onClick }: DefiListProps) {
8585
marketValue: formatCurrencyWithMinThreshold(marketValue, 'USD'),
8686
chainId: chainId as Hex,
8787
iconGroup,
88+
tokenFiatAmount: marketValue,
8889
};
8990
}),
9091
);
@@ -99,6 +100,10 @@ export default function DefiList({ onClick }: DefiListProps) {
99100
},
100101
]);
101102

103+
console.log('DEBUG DEFI ASSETS', {
104+
filteredAssets,
105+
tokenSortConfig,
106+
});
102107
// sort filtered tokens based on the tokenSortConfig in state
103108
return sortAssets(filteredAssets, tokenSortConfig);
104109
}, [

0 commit comments

Comments
 (0)