chore(trading): set default sort order (#4978)

This commit is contained in:
Ben 2023-10-05 00:12:47 +01:00 committed by GitHub
parent 797db6ee93
commit bb4cc1e51d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,7 @@ const BreakdownTable = forwardRef<AgGridReact, BreakdownTableProps>(
headerName: t('Market'),
field: 'market.tradableInstrument.instrument.code',
minWidth: 200,
sort: 'desc',
cellRenderer: ({
value,
data,
@ -140,6 +141,7 @@ const BreakdownTable = forwardRef<AgGridReact, BreakdownTableProps>(
tooltipShowDelay={500}
defaultColDef={defaultColDef}
columnDefs={coldefs}
domLayout="autoHeight"
/>
);
}