aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components
diff options
context:
space:
mode:
authorSteve Klebanoff <steve@0xproject.com>2018-11-16 07:29:22 +0800
committerGitHub <noreply@github.com>2018-11-16 07:29:22 +0800
commit8c96720080b41011d85465c2b5d9a0a3719da604 (patch)
tree88ee3a9ce98fddccc503f2f3baa7c191ccaae2bd /packages/instant/src/components
parent312dfb957267d5c96fa7d922d2f21112019fb6fa (diff)
parent33a156d9b5278c0e85a1fa0fe158440a41bcc60e (diff)
downloaddexon-sol-tools-8c96720080b41011d85465c2b5d9a0a3719da604.tar
dexon-sol-tools-8c96720080b41011d85465c2b5d9a0a3719da604.tar.gz
dexon-sol-tools-8c96720080b41011d85465c2b5d9a0a3719da604.tar.bz2
dexon-sol-tools-8c96720080b41011d85465c2b5d9a0a3719da604.tar.lz
dexon-sol-tools-8c96720080b41011d85465c2b5d9a0a3719da604.tar.xz
dexon-sol-tools-8c96720080b41011d85465c2b5d9a0a3719da604.tar.zst
dexon-sol-tools-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.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