Skip to content

Commit

Permalink
Merge branch 'develop' into feat_delta_999_max
Browse files Browse the repository at this point in the history
  • Loading branch information
NeOMakinG authored Dec 19, 2024
2 parents 6e8e96e + 6934990 commit a544b9a
Showing 1 changed file with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,11 @@ export const LimitOrderInput = ({
sellAccountId={sellAccountId}
shouldDisableGasRateRowClick
shouldDisablePreviewButton={
!hasUserEnteredAmount || isError || isRecipientAddressEntryActive
!hasUserEnteredAmount ||
isError ||
isRecipientAddressEntryActive ||
bnOrZero(marketPriceBuyAsset).isZero() ||
bnOrZero(limitPrice.buyAssetDenomination).isZero()
}
swapperName={SwapperName.CowSwap}
swapSource={SwapperName.CowSwap}
Expand All @@ -539,13 +543,14 @@ export const LimitOrderInput = ({
inputSellAmountUsd,
isError,
isLoading,
limitPrice,
quoteStatusTranslation,
limitPrice.buyAssetDenomination,
sellAccountId,
isRecipientAddressEntryActive,
marketPriceBuyAsset,
networkFeeUserCurrency,
sellAsset,
renderedRecipientAddress,
networkFeeUserCurrency,
quoteStatusTranslation,
])

return (
Expand Down

0 comments on commit a544b9a

Please sign in to comment.