fix(trading): notional size formatting (#4192)
This commit is contained in:
parent
b8c9f9772e
commit
5cae2ce400
@ -124,7 +124,7 @@ export const DealTicket = ({
|
|||||||
normalizedOrder.size,
|
normalizedOrder.size,
|
||||||
market.positionDecimalPlaces
|
market.positionDecimalPlaces
|
||||||
).multipliedBy(toBigNum(price, market.decimalPlaces)),
|
).multipliedBy(toBigNum(price, market.decimalPlaces)),
|
||||||
asset.decimals
|
market.decimalPlaces
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
@ -133,7 +133,6 @@ export const DealTicket = ({
|
|||||||
normalizedOrder?.size,
|
normalizedOrder?.size,
|
||||||
market.decimalPlaces,
|
market.decimalPlaces,
|
||||||
market.positionDecimalPlaces,
|
market.positionDecimalPlaces,
|
||||||
asset.decimals,
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const feeEstimate = useEstimateFees(
|
const feeEstimate = useEstimateFees(
|
||||||
|
Loading…
Reference in New Issue
Block a user