fix(trading): revert disabling sortable as it breaks view (#5435)

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

View File

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