diff options
author | Steve Klebanoff <steve@0xproject.com> | 2018-11-16 07:29:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-16 07:29:22 +0800 |
commit | 8c96720080b41011d85465c2b5d9a0a3719da604 (patch) | |
tree | 88ee3a9ce98fddccc503f2f3baa7c191ccaae2bd /packages/instant/src/components | |
parent | 312dfb957267d5c96fa7d922d2f21112019fb6fa (diff) | |
parent | 33a156d9b5278c0e85a1fa0fe158440a41bcc60e (diff) | |
download | dexon-0x-contracts-8c96720080b41011d85465c2b5d9a0a3719da604.tar.gz dexon-0x-contracts-8c96720080b41011d85465c2b5d9a0a3719da604.tar.zst dexon-0x-contracts-8c96720080b41011d85465c2b5d9a0a3719da604.zip |
Merge pull request #1273 from 0xProject/fix/instant/heartbeat-errors
[instant] Don't show errors from heartbeat buy quote calls
Diffstat (limited to 'packages/instant/src/components')
-rw-r--r-- | packages/instant/src/components/zero_ex_instant_provider.tsx | 3 |
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 |