aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/zero_ex_instant_provider.tsx
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-10 03:39:36 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-10 03:39:36 +0800
commitcc8debe53b9a6efc75b91f1b6c47f0820c3beb8c (patch)
tree7f59b73ca8f436e94fcb872eced183b95c25e0b3 /packages/instant/src/components/zero_ex_instant_provider.tsx
parent36b8c9c5dd6cc650eaed8a2a6abd8f596c189fed (diff)
downloaddexon-0x-contracts-cc8debe53b9a6efc75b91f1b6c47f0820c3beb8c.tar.gz
dexon-0x-contracts-cc8debe53b9a6efc75b91f1b6c47f0820c3beb8c.tar.zst
dexon-0x-contracts-cc8debe53b9a6efc75b91f1b6c47f0820c3beb8c.zip
Linting and renaming variables
Diffstat (limited to 'packages/instant/src/components/zero_ex_instant_provider.tsx')
-rw-r--r--packages/instant/src/components/zero_ex_instant_provider.tsx11
1 files changed, 7 insertions, 4 deletions
diff --git a/packages/instant/src/components/zero_ex_instant_provider.tsx b/packages/instant/src/components/zero_ex_instant_provider.tsx
index 20d677dc2..1223b477e 100644
--- a/packages/instant/src/components/zero_ex_instant_provider.tsx
+++ b/packages/instant/src/components/zero_ex_instant_provider.tsx
@@ -98,17 +98,20 @@ export class ZeroExInstantProvider extends React.Component<ZeroExInstantProvider
// tslint:disable-next-line:no-floating-promises
asyncData.fetchAvailableAssetDatasAndDispatchToStore(this._store);
}
- // tslint:disable-next-line:no-floating-promises
this._accountUpdateHeartbeat = generateAccountHeartbeater({
store: this._store,
- performImmediatelyOnStart: true,
+ shouldPerformImmediatelyOnStart: true,
});
this._accountUpdateHeartbeat.start(ACCOUNT_UPDATE_INTERVAL_TIME_MS);
- this._buyQuoteHeartbeat = generateBuyQuoteHeartbeater({ store: this._store, performImmediatelyOnStart: false });
+ this._buyQuoteHeartbeat = generateBuyQuoteHeartbeater({
+ store: this._store,
+ shouldPerformImmediatelyOnStart: false,
+ });
this._buyQuoteHeartbeat.start(BUY_QUOTE_UPDATE_INTERVAL_TIME_MS);
- asyncData.fetchCurrentBuyQuoteAndDispatchToStore({ store: this._store, setPending: true });
+ // tslint:disable-next-line:no-floating-promises
+ asyncData.fetchCurrentBuyQuoteAndDispatchToStore({ store: this._store, shouldSetPending: true });
// warm up the gas price estimator cache just in case we can't
// grab the gas price estimate when submitting the transaction