diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-16 06:20:19 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-11-16 06:20:19 +0800 |
commit | 447b0f91f9bdc200d14897be94796873c95490c7 (patch) | |
tree | 6bc38643a1d14437c0f56fe91048d5716064f801 /packages/instant/src/containers | |
parent | 34d86647bfc56dbf8221b08b3d7bdeba08f46ca1 (diff) | |
download | dexon-sol-tools-447b0f91f9bdc200d14897be94796873c95490c7.tar dexon-sol-tools-447b0f91f9bdc200d14897be94796873c95490c7.tar.gz dexon-sol-tools-447b0f91f9bdc200d14897be94796873c95490c7.tar.bz2 dexon-sol-tools-447b0f91f9bdc200d14897be94796873c95490c7.tar.lz dexon-sol-tools-447b0f91f9bdc200d14897be94796873c95490c7.tar.xz dexon-sol-tools-447b0f91f9bdc200d14897be94796873c95490c7.tar.zst dexon-sol-tools-447b0f91f9bdc200d14897be94796873c95490c7.zip |
Have heartbeat update not trigger errors
Diffstat (limited to 'packages/instant/src/containers')
-rw-r--r-- | packages/instant/src/containers/selected_erc20_asset_amount_input.ts | 9 |
1 files changed, 8 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..3e6ef41a0 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,14 @@ 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, + ); } }, }); |