fix(trading): fees by market fix order (#5877)
This commit is contained in:
parent
375f4da541
commit
2b91aebc2a
@ -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]
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user