Merge pull request #1410 from 0xProject/fix/instant/zero-quote

[instant] Don't update heartbeat if amount is 0
This commit is contained in:
Steve Klebanoff
2018-12-12 17:34:42 -08:00
committed by GitHub

View File

@@ -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
) {