diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-12-11 01:16:15 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-12-11 01:16:15 +0800 |
commit | a0ea0415ddd2fb2b9b23ad249d5c0230314260c4 (patch) | |
tree | 34aa937ce182d3cc98444288dce7951ab790041c | |
parent | a39e0f13be4d47ee79dd971d49835f6929fa71e7 (diff) | |
download | dexon-sol-tools-a0ea0415ddd2fb2b9b23ad249d5c0230314260c4.tar.gz dexon-sol-tools-a0ea0415ddd2fb2b9b23ad249d5c0230314260c4.tar.zst dexon-sol-tools-a0ea0415ddd2fb2b9b23ad249d5c0230314260c4.zip |
fix(instant): Don't update heartbeat if amount is 0
-rw-r--r-- | packages/instant/src/redux/async_data.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/instant/src/redux/async_data.ts b/packages/instant/src/redux/async_data.ts index c67b222d1..932eb93e9 100644 --- a/packages/instant/src/redux/async_data.ts +++ b/packages/instant/src/redux/async_data.ts @@ -97,6 +97,7 @@ export const asyncData = { if ( !_.isUndefined(selectedAssetUnitAmount) && !_.isUndefined(selectedAsset) && + selectedAssetUnitAmount.greaterThan(BIG_NUMBER_ZERO) && buyOrderState.processState === OrderProcessState.None && selectedAsset.metaData.assetProxyId === AssetProxyId.ERC20 ) { |