diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-30 06:37:30 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-30 06:37:30 +0800 |
commit | cd419edf69ae13c6eb7eb1daadcfa73bd731e6f4 (patch) | |
tree | 7782d4458d4aee2d265ccfddb5211c7edbb8ac81 /packages/instant/src/components | |
parent | 9610ada4467472318db0de17f794737ada42836b (diff) | |
download | dexon-0x-contracts-cd419edf69ae13c6eb7eb1daadcfa73bd731e6f4.tar dexon-0x-contracts-cd419edf69ae13c6eb7eb1daadcfa73bd731e6f4.tar.gz dexon-0x-contracts-cd419edf69ae13c6eb7eb1daadcfa73bd731e6f4.tar.bz2 dexon-0x-contracts-cd419edf69ae13c6eb7eb1daadcfa73bd731e6f4.tar.lz dexon-0x-contracts-cd419edf69ae13c6eb7eb1daadcfa73bd731e6f4.tar.xz dexon-0x-contracts-cd419edf69ae13c6eb7eb1daadcfa73bd731e6f4.tar.zst dexon-0x-contracts-cd419edf69ae13c6eb7eb1daadcfa73bd731e6f4.zip |
linting
Diffstat (limited to 'packages/instant/src/components')
-rw-r--r-- | packages/instant/src/components/buy_button.tsx | 2 | ||||
-rw-r--r-- | packages/instant/src/components/zero_ex_instant.tsx | 1 |
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(); |