aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/containers
diff options
context:
space:
mode:
authorSteve Klebanoff <steve@0xproject.com>2018-11-10 08:02:09 +0800
committerGitHub <noreply@github.com>2018-11-10 08:02:09 +0800
commit26cbe7ae6646d97c286e58756c23a93de32ae37b (patch)
tree96943e8dd87f0e3ef8c994101bce5a16a47082ea /packages/instant/src/containers
parent2c585bfbdc4940e3e6089ac1cf595dd009b141d2 (diff)
parentfd83ca2cb893ab7cc027efd6829ba2eb07cdb539 (diff)
downloaddexon-sol-tools-26cbe7ae6646d97c286e58756c23a93de32ae37b.tar
dexon-sol-tools-26cbe7ae6646d97c286e58756c23a93de32ae37b.tar.gz
dexon-sol-tools-26cbe7ae6646d97c286e58756c23a93de32ae37b.tar.bz2
dexon-sol-tools-26cbe7ae6646d97c286e58756c23a93de32ae37b.tar.lz
dexon-sol-tools-26cbe7ae6646d97c286e58756c23a93de32ae37b.tar.xz
dexon-sol-tools-26cbe7ae6646d97c286e58756c23a93de32ae37b.tar.zst
dexon-sol-tools-26cbe7ae6646d97c286e58756c23a93de32ae37b.zip
Merge pull request #1237 from 0xProject/feature/instant/buy-quote-heartbeat
[instant] Heartbeats for account info and buy quotes
Diffstat (limited to 'packages/instant/src/containers')
-rw-r--r--packages/instant/src/containers/selected_erc20_asset_amount_input.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/containers/selected_erc20_asset_amount_input.ts b/packages/instant/src/containers/selected_erc20_asset_amount_input.ts
index c550aef04..93ff3db70 100644
--- a/packages/instant/src/containers/selected_erc20_asset_amount_input.ts
+++ b/packages/instant/src/containers/selected_erc20_asset_amount_input.ts
@@ -69,7 +69,7 @@ const mapStateToProps = (state: State, _ownProps: SelectedERC20AssetAmountInputP
const debouncedUpdateBuyQuoteAsync = _.debounce(buyQuoteUpdater.updateBuyQuoteAsync.bind(buyQuoteUpdater), 200, {
trailing: true,
-});
+}) as typeof buyQuoteUpdater.updateBuyQuoteAsync;
const mapDispatchToProps = (
dispatch: Dispatch<Action>,
@@ -87,7 +87,7 @@ const mapDispatchToProps = (
// even if it's debounced, give them the illusion it's loading
dispatch(actions.setQuoteRequestStatePending());
// tslint:disable-next-line:no-floating-promises
- debouncedUpdateBuyQuoteAsync(assetBuyer, dispatch, asset, value, affiliateInfo);
+ debouncedUpdateBuyQuoteAsync(assetBuyer, dispatch, asset, value, true, affiliateInfo);
}
},
});