Skip to content

Commit b4ce9e0

Browse files
authored
chore: default sort holdings by size (dydxprotocol#2022)
1 parent 0699036 commit b4ce9e0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/pages/spot/SpotHoldingsTable.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,10 @@ export const SpotHoldingsTable = ({
219219
withInnerBorders
220220
withScrollSnapColumns
221221
withScrollSnapRows
222+
defaultSortDescriptor={{
223+
column: 'holdingsUsd',
224+
direction: 'descending',
225+
}}
222226
slotEmpty={
223227
<>
224228
<Icon iconName={IconName.Positions} tw="text-[3em]" />

0 commit comments

Comments
 (0)