aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/blockchain.ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon@0xproject.com>2018-11-12 13:21:36 +0800
committerGitHub <noreply@github.com>2018-11-12 13:21:36 +0800
commit9e4a594eb1ee34d89fcad1cf22bee99358a10e92 (patch)
tree6555f425a60460d30eeaed5e5e48d8a8dbd29aef /packages/website/ts/blockchain.ts
parentdf8fd36c94223d20a427d3829edfc15a4f58161b (diff)
parent3b421ef796638caf4e8d3bc2c7339b94d5e2026d (diff)
downloaddexon-sol-tools-9e4a594eb1ee34d89fcad1cf22bee99358a10e92.tar
dexon-sol-tools-9e4a594eb1ee34d89fcad1cf22bee99358a10e92.tar.gz
dexon-sol-tools-9e4a594eb1ee34d89fcad1cf22bee99358a10e92.tar.bz2
dexon-sol-tools-9e4a594eb1ee34d89fcad1cf22bee99358a10e92.tar.lz
dexon-sol-tools-9e4a594eb1ee34d89fcad1cf22bee99358a10e92.tar.xz
dexon-sol-tools-9e4a594eb1ee34d89fcad1cf22bee99358a10e92.tar.zst
dexon-sol-tools-9e4a594eb1ee34d89fcad1cf22bee99358a10e92.zip
Merge pull request #1238 from 0xProject/fix/website/code-splitting
[website] Fix code splitting
Diffstat (limited to 'packages/website/ts/blockchain.ts')
-rw-r--r--packages/website/ts/blockchain.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/website/ts/blockchain.ts b/packages/website/ts/blockchain.ts
index b43c41739..25430c1c7 100644
--- a/packages/website/ts/blockchain.ts
+++ b/packages/website/ts/blockchain.ts
@@ -26,7 +26,7 @@ import { BlockParam, LogWithDecodedArgs, Provider, TransactionReceiptWithDecoded
import * as _ from 'lodash';
import * as moment from 'moment';
import * as React from 'react';
-import contract = require('truffle-contract');
+import contract from 'truffle-contract';
import { BlockchainWatcher } from 'ts/blockchain_watcher';
import { AssetSendCompleted } from 'ts/components/flash_messages/asset_send_completed';
import { TransactionSubmitted } from 'ts/components/flash_messages/transaction_submitted';
@@ -55,9 +55,9 @@ import { errorReporter } from 'ts/utils/error_reporter';
import { fakeTokenRegistry } from 'ts/utils/fake_token_registry';
import { tokenAddressOverrides } from 'ts/utils/token_address_overrides';
import { utils } from 'ts/utils/utils';
-import FilterSubprovider = require('web3-provider-engine/subproviders/filters');
+import FilterSubprovider from 'web3-provider-engine/subproviders/filters';
-import * as MintableArtifacts from '../contracts/Mintable.json';
+import MintableArtifacts from '../contracts/Mintable.json';
const BLOCK_NUMBER_BACK_TRACK = 50;
const GWEI_IN_WEI = 1000000000;