diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-10 23:59:59 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-10 23:59:59 +0800 |
commit | 8a58ffda86289d8126fa5ff56ea24f7b31f3757f (patch) | |
tree | f39d6ff8c8cee328035414cf0d41d090b2a85efd /packages | |
parent | cea8dcae3dac2265d3780c95d6581fe48e9b94a4 (diff) | |
download | dexon-0x-contracts-8a58ffda86289d8126fa5ff56ea24f7b31f3757f.tar.gz dexon-0x-contracts-8a58ffda86289d8126fa5ff56ea24f7b31f3757f.tar.zst dexon-0x-contracts-8a58ffda86289d8126fa5ff56ea24f7b31f3757f.zip |
Fix tslint issues
Diffstat (limited to 'packages')
4 files changed, 4 insertions, 3 deletions
diff --git a/packages/website/ts/components/fill_order.tsx b/packages/website/ts/components/fill_order.tsx index 11b756d8e..f1eee3e89 100644 --- a/packages/website/ts/components/fill_order.tsx +++ b/packages/website/ts/components/fill_order.tsx @@ -21,9 +21,9 @@ import { Dispatcher } from 'ts/redux/dispatcher'; import { portalOrderSchema } from 'ts/schemas/portal_order_schema'; import { validator } from 'ts/schemas/validator'; import { AlertTypes, BlockchainErrs, Order, Token, TokenByAddress, WebsitePaths } from 'ts/types'; +import { analytics } from 'ts/utils/analytics'; import { constants } from 'ts/utils/constants'; import { errorReporter } from 'ts/utils/error_reporter'; -import { analytics } from 'ts/utils/analytics'; import { utils } from 'ts/utils/utils'; interface FillOrderProps { diff --git a/packages/website/ts/components/generate_order/generate_order_form.tsx b/packages/website/ts/components/generate_order/generate_order_form.tsx index 5e356528e..9edbc9115 100644 --- a/packages/website/ts/components/generate_order/generate_order_form.tsx +++ b/packages/website/ts/components/generate_order/generate_order_form.tsx @@ -20,9 +20,9 @@ import { Dispatcher } from 'ts/redux/dispatcher'; import { portalOrderSchema } from 'ts/schemas/portal_order_schema'; import { validator } from 'ts/schemas/validator'; import { AlertTypes, BlockchainErrs, HashData, Side, SideToAssetToken, Token, TokenByAddress } from 'ts/types'; +import { analytics } from 'ts/utils/analytics'; import { constants } from 'ts/utils/constants'; import { errorReporter } from 'ts/utils/error_reporter'; -import { analytics } from 'ts/utils/analytics'; import { utils } from 'ts/utils/utils'; enum SigningState { diff --git a/packages/website/ts/components/inputs/allowance_toggle.tsx b/packages/website/ts/components/inputs/allowance_toggle.tsx index 6831fee48..07a35f301 100644 --- a/packages/website/ts/components/inputs/allowance_toggle.tsx +++ b/packages/website/ts/components/inputs/allowance_toggle.tsx @@ -6,9 +6,9 @@ import * as React from 'react'; import { Blockchain } from 'ts/blockchain'; import { Dispatcher } from 'ts/redux/dispatcher'; import { BalanceErrs, Token, TokenState } from 'ts/types'; +import { analytics } from 'ts/utils/analytics'; import { constants } from 'ts/utils/constants'; import { errorReporter } from 'ts/utils/error_reporter'; -import { analytics } from 'ts/utils/analytics'; import { utils } from 'ts/utils/utils'; const DEFAULT_ALLOWANCE_AMOUNT_IN_BASE_UNITS = new BigNumber(2).pow(256).minus(1); diff --git a/packages/website/ts/index.tsx b/packages/website/ts/index.tsx index d974d7511..b24517e39 100644 --- a/packages/website/ts/index.tsx +++ b/packages/website/ts/index.tsx @@ -47,6 +47,7 @@ const LazyConnectDocumentation = createLazyComponent('Documentation', async () = ); analytics.init(); +// tslint:disable-next-line:no-floating-promises analytics.logProviderAsync((window as any).web3); const store: ReduxStore<State> = createStore(reducer); render( |