From e19f7916ffb6f4612e4e4873ab39ec7c3714daec Mon Sep 17 00:00:00 2001 From: tjs Date: Wed, 29 Jun 2022 23:38:32 -0400 Subject: [PATCH] fix type errors --- components/SerumOrder.tsx | 3 --- 1 file changed, 3 deletions(-) diff --git a/components/SerumOrder.tsx b/components/SerumOrder.tsx index 1813fd62..0a581302 100644 --- a/components/SerumOrder.tsx +++ b/components/SerumOrder.tsx @@ -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