chore(trading): disable trades table sorting (#5423)

This commit is contained in:
m.ray 2023-12-04 17:40:32 +02:00 committed by GitHub
parent 37cd69ba6e
commit 1e5c523bc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,6 +59,7 @@ export const TradesTable = ({ onClick, ...props }: Props) => {
field: 'price',
type: 'rightAligned',
cellClass: changeCellClass,
sortable: false,
valueFormatter: ({
value,
data,
@ -92,6 +93,7 @@ export const TradesTable = ({ onClick, ...props }: Props) => {
headerName: t('Size'),
field: 'size',
type: 'rightAligned',
sortable: false,
valueFormatter: ({
value,
data,
@ -111,6 +113,7 @@ export const TradesTable = ({ onClick, ...props }: Props) => {
field: 'createdAt',
type: 'rightAligned',
cellClass: 'text-right',
sortable: false,
flex: 1, // make created at always fill remaining space
valueFormatter: ({
value,