aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-30 06:37:30 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-30 06:37:30 +0800
commitcd419edf69ae13c6eb7eb1daadcfa73bd731e6f4 (patch)
tree7782d4458d4aee2d265ccfddb5211c7edbb8ac81 /packages/instant
parent9610ada4467472318db0de17f794737ada42836b (diff)
downloaddexon-sol-tools-cd419edf69ae13c6eb7eb1daadcfa73bd731e6f4.tar
dexon-sol-tools-cd419edf69ae13c6eb7eb1daadcfa73bd731e6f4.tar.gz
dexon-sol-tools-cd419edf69ae13c6eb7eb1daadcfa73bd731e6f4.tar.bz2
dexon-sol-tools-cd419edf69ae13c6eb7eb1daadcfa73bd731e6f4.tar.lz
dexon-sol-tools-cd419edf69ae13c6eb7eb1daadcfa73bd731e6f4.tar.xz
dexon-sol-tools-cd419edf69ae13c6eb7eb1daadcfa73bd731e6f4.tar.zst
dexon-sol-tools-cd419edf69ae13c6eb7eb1daadcfa73bd731e6f4.zip
linting
Diffstat (limited to 'packages/instant')
-rw-r--r--packages/instant/src/components/buy_button.tsx2
-rw-r--r--packages/instant/src/components/zero_ex_instant.tsx1
2 files changed, 2 insertions, 1 deletions
diff --git a/packages/instant/src/components/buy_button.tsx b/packages/instant/src/components/buy_button.tsx
index 58575b1b3..93bd8e635 100644
--- a/packages/instant/src/components/buy_button.tsx
+++ b/packages/instant/src/components/buy_button.tsx
@@ -2,7 +2,7 @@ import { AssetBuyer, AssetBuyerError, BuyQuote } from '@0x/asset-buyer';
import * as _ from 'lodash';
import * as React from 'react';
-import { DEFAULT_GAS_PRICE, WEB_3_WRAPPER_TRANSACTION_FAILED_ERROR_MSG_PREFIX } from '../constants';
+import { WEB_3_WRAPPER_TRANSACTION_FAILED_ERROR_MSG_PREFIX } from '../constants';
import { ColorOption } from '../style/theme';
import { ZeroExInstantError } from '../types';
import { getBestAddress } from '../util/address';
diff --git a/packages/instant/src/components/zero_ex_instant.tsx b/packages/instant/src/components/zero_ex_instant.tsx
index 6a5846963..87069bb6f 100644
--- a/packages/instant/src/components/zero_ex_instant.tsx
+++ b/packages/instant/src/components/zero_ex_instant.tsx
@@ -79,6 +79,7 @@ export class ZeroExInstant extends React.Component<ZeroExInstantProps> {
public componentDidMount(): void {
// tslint:disable-next-line:no-floating-promises
asyncData.fetchAndDispatchToStore(this._store);
+ // tslint:disable-next-line:no-floating-promises
gasPriceEstimator.getFastAmountInWeiAsync();
// tslint:disable-next-line:no-floating-promises
this._flashErrorIfWrongNetwork();