fix type errors

This commit is contained in:
tjs 2022-06-29 23:38:32 -04:00
parent 974da0d98d
commit e19f7916ff
1 changed files with 0 additions and 3 deletions

View File

@ -1,5 +1,4 @@
import {
DEVNET_SERUM3_PROGRAM_ID,
Serum3OrderType,
Serum3SelfTradeBehavior,
Serum3Side,
@ -32,7 +31,6 @@ const SerumOrder = () => {
const tx = await client.serum3PlaceOrder(
group,
mangoAccount,
DEVNET_SERUM3_PROGRAM_ID,
'BTC/USDC',
side,
parseFloat(tradeForm.price),
@ -61,7 +59,6 @@ const SerumOrder = () => {
const tx = await client.serum3CancelOrder(
group,
mangoAccount,
DEVNET_SERUM3_PROGRAM_ID,
'BTC/USDC',
order.side === 'buy' ? Serum3Side.bid : Serum3Side.ask,
order.orderId