diff --git a/packages/asset-swapper/test/swap_quote_calculator_test.ts b/packages/asset-swapper/test/swap_quote_calculator_test.ts index e6bd51da4e..4ef00dbefb 100644 --- a/packages/asset-swapper/test/swap_quote_calculator_test.ts +++ b/packages/asset-swapper/test/swap_quote_calculator_test.ts @@ -48,7 +48,7 @@ describe('swapQuoteCalculator', () => { }; await testHelpers.expectInsufficientLiquidityErrorAsync(expect, errorFunction, baseUnitAmount(9)); }); - it('should throw if not enough taker asset liquidity (multiple feeless orders with 20% slippage)',async () => { + it('should throw if not enough taker asset liquidity (multiple feeless orders with 20% slippage)', async () => { const errorFunction = async () => { await swapQuoteCalculator.calculateMarketSellSwapQuoteAsync( testOrders.PRUNED_SIGNED_ORDERS_FEELESS, diff --git a/packages/instant/src/components/buy_order_state_buttons.tsx b/packages/instant/src/components/buy_order_state_buttons.tsx index e04832fbe2..017a5c45e6 100644 --- a/packages/instant/src/components/buy_order_state_buttons.tsx +++ b/packages/instant/src/components/buy_order_state_buttons.tsx @@ -1,10 +1,4 @@ -import { - MarketBuySwapQuote, - SwapQuoteConsumer, - SwapQuoter, - SwapQuoterError, - SwapQuoteConsumerError, -} from '@0x/asset-swapper'; +import { MarketBuySwapQuote, SwapQuoteConsumer, SwapQuoteConsumerError, SwapQuoter } from '@0x/asset-swapper'; import { BigNumber } from '@0x/utils'; import { Web3Wrapper } from '@0x/web3-wrapper'; import * as React from 'react'; diff --git a/packages/instant/src/containers/selected_asset_buy_order_state_buttons.ts b/packages/instant/src/containers/selected_asset_buy_order_state_buttons.ts index 255f617b1c..90553ae5eb 100644 --- a/packages/instant/src/containers/selected_asset_buy_order_state_buttons.ts +++ b/packages/instant/src/containers/selected_asset_buy_order_state_buttons.ts @@ -1,10 +1,4 @@ -import { - MarketBuySwapQuote, - SwapQuoteConsumer, - SwapQuoteConsumerError, - SwapQuoter, - SwapQuoterError, -} from '@0x/asset-swapper'; +import { MarketBuySwapQuote, SwapQuoteConsumer, SwapQuoteConsumerError, SwapQuoter } from '@0x/asset-swapper'; import { BigNumber } from '@0x/utils'; import { Web3Wrapper } from '@0x/web3-wrapper'; import * as _ from 'lodash'; diff --git a/packages/instant/src/util/asset_swapper_factory.ts b/packages/instant/src/util/asset_swapper_factory.ts index 71b56848a0..806dcabaac 100644 --- a/packages/instant/src/util/asset_swapper_factory.ts +++ b/packages/instant/src/util/asset_swapper_factory.ts @@ -1,4 +1,4 @@ -import { SwapQuoteConsumer, SwapQuoter, SwapQuoteConsumerOpts, SwapQuoterOpts } from '@0x/asset-swapper'; +import { SwapQuoteConsumer, SwapQuoter, SwapQuoterOpts } from '@0x/asset-swapper'; import { SupportedProvider } from 'ethereum-types'; import * as _ from 'lodash'; diff --git a/packages/instant/src/util/swap_quote_updater.ts b/packages/instant/src/util/swap_quote_updater.ts index c7f80c01b4..032b14f85e 100644 --- a/packages/instant/src/util/swap_quote_updater.ts +++ b/packages/instant/src/util/swap_quote_updater.ts @@ -1,14 +1,14 @@ -import { MarketBuySwapQuote, SwapQuote, SwapQuoter } from '@0x/asset-swapper'; +import { MarketBuySwapQuote, SwapQuoter } from '@0x/asset-swapper'; import { AssetProxyId } from '@0x/types'; import { BigNumber } from '@0x/utils'; import { Web3Wrapper } from '@0x/web3-wrapper'; import * as _ from 'lodash'; import { Dispatch } from 'redux'; -import { oc } from 'ts-optchain'; import { ERC20_SWAP_QUOTE_SLIPPAGE_PERCENTAGE, ERC721_SWAP_QUOTE_SLIPPAGE_PERCENTAGE } from '../constants'; import { Action, actions } from '../redux/actions'; import { Asset, QuoteFetchOrigin } from '../types'; + import { analytics } from './analytics'; import { assetUtils } from './asset'; import { errorFlasher } from './error_flasher';