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-16 06:20:19 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-16 06:20:19 +0800
commit447b0f91f9bdc200d14897be94796873c95490c7 (patch)
tree6bc38643a1d14437c0f56fe91048d5716064f801 /packages/instant/src/components/zero_ex_instant_provider.tsx
parent34d86647bfc56dbf8221b08b3d7bdeba08f46ca1 (diff)
downloaddexon-0x-contracts-447b0f91f9bdc200d14897be94796873c95490c7.tar.gz
dexon-0x-contracts-447b0f91f9bdc200d14897be94796873c95490c7.tar.zst
dexon-0x-contracts-447b0f91f9bdc200d14897be94796873c95490c7.zip
Have heartbeat update not trigger errors
Diffstat (limited to 'packages/instant/src/components/zero_ex_instant_provider.tsx')
-rw-r--r--packages/instant/src/components/zero_ex_instant_provider.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/instant/src/components/zero_ex_instant_provider.tsx b/packages/instant/src/components/zero_ex_instant_provider.tsx
index 18e71edb6..f6dadf3e4 100644
--- a/packages/instant/src/components/zero_ex_instant_provider.tsx
+++ b/packages/instant/src/components/zero_ex_instant_provider.tsx
@@ -113,7 +113,8 @@ export class ZeroExInstantProvider extends React.Component<ZeroExInstantProvider
});
this._buyQuoteHeartbeat.start(BUY_QUOTE_UPDATE_INTERVAL_TIME_MS);
// tslint:disable-next-line:no-floating-promises
- asyncData.fetchCurrentBuyQuoteAndDispatchToStore(state, dispatch, true);
+ // Trigger first buyquote fetch
+ asyncData.fetchCurrentBuyQuoteAndDispatchToStore(state, dispatch, { updateSilently: false });
// 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