aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components
diff options
context:
space:
mode:
authorSteve Klebanoff <steve@0xproject.com>2018-11-30 07:44:07 +0800
committerGitHub <noreply@github.com>2018-11-30 07:44:07 +0800
commitfc3641b49938ea9dc5e77e633e798ca19aa812ff (patch)
tree8eb14525cab2ac8485202ff28d6f66e06290169f /packages/instant/src/components
parentd4c439b27703b6855a6f7da60cf5a249d82b6b81 (diff)
parent5c66f9117fa0bf6a5be29243dbecbfe016b95345 (diff)
downloaddexon-sol-tools-fc3641b49938ea9dc5e77e633e798ca19aa812ff.tar
dexon-sol-tools-fc3641b49938ea9dc5e77e633e798ca19aa812ff.tar.gz
dexon-sol-tools-fc3641b49938ea9dc5e77e633e798ca19aa812ff.tar.bz2
dexon-sol-tools-fc3641b49938ea9dc5e77e633e798ca19aa812ff.tar.lz
dexon-sol-tools-fc3641b49938ea9dc5e77e633e798ca19aa812ff.tar.xz
dexon-sol-tools-fc3641b49938ea9dc5e77e633e798ca19aa812ff.tar.zst
dexon-sol-tools-fc3641b49938ea9dc5e77e633e798ca19aa812ff.zip
Merge pull request #1343 from 0xProject/feature/instant/quote-analytics
[instant] Quote analytics
Diffstat (limited to 'packages/instant/src/components')
-rw-r--r--packages/instant/src/components/zero_ex_instant_provider.tsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/instant/src/components/zero_ex_instant_provider.tsx b/packages/instant/src/components/zero_ex_instant_provider.tsx
index e006a5a5f..a4a03bbf4 100644
--- a/packages/instant/src/components/zero_ex_instant_provider.tsx
+++ b/packages/instant/src/components/zero_ex_instant_provider.tsx
@@ -11,7 +11,7 @@ import { asyncData } from '../redux/async_data';
import { DEFAULT_STATE, DefaultState, State } from '../redux/reducer';
import { store, Store } from '../redux/store';
import { fonts } from '../style/fonts';
-import { AccountState, AffiliateInfo, AssetMetaData, Network, OrderSource } from '../types';
+import { AccountState, AffiliateInfo, AssetMetaData, Network, OrderSource, QuoteFetchOrigin } from '../types';
import { analytics, disableAnalytics } from '../util/analytics';
import { assetUtils } from '../util/asset';
import { errorFlasher } from '../util/error_flasher';
@@ -115,7 +115,9 @@ export class ZeroExInstantProvider extends React.Component<ZeroExInstantProvider
this._buyQuoteHeartbeat.start(BUY_QUOTE_UPDATE_INTERVAL_TIME_MS);
// Trigger first buyquote fetch
// tslint:disable-next-line:no-floating-promises
- asyncData.fetchCurrentBuyQuoteAndDispatchToStore(state, dispatch, { updateSilently: false });
+ asyncData.fetchCurrentBuyQuoteAndDispatchToStore(state, dispatch, QuoteFetchOrigin.Manual, {
+ 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