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/containers | |
parent | 312dfb957267d5c96fa7d922d2f21112019fb6fa (diff) | |
parent | 33a156d9b5278c0e85a1fa0fe158440a41bcc60e (diff) | |
download | dexon-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/containers')
-rw-r--r-- | packages/instant/src/containers/selected_erc20_asset_amount_input.ts | 6 |
1 files changed, 5 insertions, 1 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 8b0070228..2c2661e1a 100644 --- a/packages/instant/src/containers/selected_erc20_asset_amount_input.ts +++ b/packages/instant/src/containers/selected_erc20_asset_amount_input.ts @@ -81,7 +81,11 @@ 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, true, affiliateInfo); + debouncedUpdateBuyQuoteAsync(assetBuyer, dispatch, asset, value, { + setPending: true, + dispatchErrors: true, + affiliateInfo, + }); } }, }); |