fix(trading): fees by market fix order (#5877)

This commit is contained in:
m.ray 2024-02-29 12:25:56 +02:00 committed by GitHub
parent 375f4da541
commit 2b91aebc2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,18 +21,13 @@ const useFeesTableColumnDefs = (): ColDef[] => {
pinned: 'left', pinned: 'left',
width: 150, width: 150,
}, },
{
field: 'liquidityFee',
valueFormatter: ({ value }: { value: number }) => value + '%',
},
{ {
field: 'feeAfterDiscount', field: 'feeAfterDiscount',
headerName: t('Total fee after discount'), headerName: t('Total fee after discount'),
valueFormatter: ({ value }: { value: number }) => value + '%', valueFormatter: ({ value }: { value: number }) => value + '%',
}, },
{ {
field: 'totalFee', field: 'liquidityFee',
headerName: t('Total fee before discount'),
valueFormatter: ({ value }: { value: number }) => value + '%', valueFormatter: ({ value }: { value: number }) => value + '%',
}, },
{ {
@ -43,6 +38,11 @@ const useFeesTableColumnDefs = (): ColDef[] => {
field: 'makerFee', field: 'makerFee',
valueFormatter: ({ value }: { value: number }) => value + '%', valueFormatter: ({ value }: { value: number }) => value + '%',
}, },
{
field: 'totalFee',
headerName: t('Total fee before discount'),
valueFormatter: ({ value }: { value: number }) => value + '%',
},
] as ColDef[], ] as ColDef[],
[t] [t]
); );