aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-30 08:18:56 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-10-30 08:18:56 +0800
commit5901ee7e963a4413f49fffdd9477085229e7623f (patch)
tree5b7abdb49e1afeb82ce260596e2a0c0c17e2a30c /packages/instant/src
parent09ee7d84f70418e128a445bf3a11b813ac1c7d2e (diff)
downloaddexon-sol-tools-5901ee7e963a4413f49fffdd9477085229e7623f.tar
dexon-sol-tools-5901ee7e963a4413f49fffdd9477085229e7623f.tar.gz
dexon-sol-tools-5901ee7e963a4413f49fffdd9477085229e7623f.tar.bz2
dexon-sol-tools-5901ee7e963a4413f49fffdd9477085229e7623f.tar.lz
dexon-sol-tools-5901ee7e963a4413f49fffdd9477085229e7623f.tar.xz
dexon-sol-tools-5901ee7e963a4413f49fffdd9477085229e7623f.tar.zst
dexon-sol-tools-5901ee7e963a4413f49fffdd9477085229e7623f.zip
Move tslint disable line
Diffstat (limited to 'packages/instant/src')
-rw-r--r--packages/instant/src/components/zero_ex_instant.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/instant/src/components/zero_ex_instant.tsx b/packages/instant/src/components/zero_ex_instant.tsx
index 63c2c9072..d54dfc153 100644
--- a/packages/instant/src/components/zero_ex_instant.tsx
+++ b/packages/instant/src/components/zero_ex_instant.tsx
@@ -79,10 +79,12 @@ 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
+
// warm up the gas price estimator cache just in case we can't
// grab the gas price estimate when submitting the transaction
+ // tslint:disable-next-line:no-floating-promises
gasPriceEstimator.getFastAmountInWeiAsync();
+
// tslint:disable-next-line:no-floating-promises
this._flashErrorIfWrongNetwork();
}