aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-29 06:17:26 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-11-29 06:17:26 +0800
commit208ee935c843cfff9f0559a4c4058af3908f6261 (patch)
treee3ae1675f9688a2b51baea5100ab6f5dccbcb27d /packages/instant/src/components
parentec01893e9c987fcbd3fd7bcb4ec34498a6f516cc (diff)
downloaddexon-0x-contracts-208ee935c843cfff9f0559a4c4058af3908f6261.tar.gz
dexon-0x-contracts-208ee935c843cfff9f0559a4c4058af3908f6261.tar.zst
dexon-0x-contracts-208ee935c843cfff9f0559a4c4058af3908f6261.zip
Move fetch origin out of options
Diffstat (limited to 'packages/instant/src/components')
-rw-r--r--packages/instant/src/components/zero_ex_instant_provider.tsx3
1 files changed, 1 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 f7880fc12..a4a03bbf4 100644
--- a/packages/instant/src/components/zero_ex_instant_provider.tsx
+++ b/packages/instant/src/components/zero_ex_instant_provider.tsx
@@ -115,9 +115,8 @@ 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, {
+ asyncData.fetchCurrentBuyQuoteAndDispatchToStore(state, dispatch, QuoteFetchOrigin.Manual, {
updateSilently: false,
- fetchOrigin: QuoteFetchOrigin.Manual,
});
// warm up the gas price estimator cache just in case we can't
// grab the gas price estimate when submitting the transaction