aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/blockchain.ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-11-06 04:59:10 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-11-12 12:58:47 +0800
commit3b421ef796638caf4e8d3bc2c7339b94d5e2026d (patch)
tree6555f425a60460d30eeaed5e5e48d8a8dbd29aef /packages/website/ts/blockchain.ts
parentdf8fd36c94223d20a427d3829edfc15a4f58161b (diff)
downloaddexon-sol-tools-3b421ef796638caf4e8d3bc2c7339b94d5e2026d.tar
dexon-sol-tools-3b421ef796638caf4e8d3bc2c7339b94d5e2026d.tar.gz
dexon-sol-tools-3b421ef796638caf4e8d3bc2c7339b94d5e2026d.tar.bz2
dexon-sol-tools-3b421ef796638caf4e8d3bc2c7339b94d5e2026d.tar.lz
dexon-sol-tools-3b421ef796638caf4e8d3bc2c7339b94d5e2026d.tar.xz
dexon-sol-tools-3b421ef796638caf4e8d3bc2c7339b94d5e2026d.tar.zst
dexon-sol-tools-3b421ef796638caf4e8d3bc2c7339b94d5e2026d.zip
fix(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;