Skip to content

Commit

Permalink
fix: Don't show costless tx msg when buying nft with card (decentrala…
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinszuchet authored Feb 13, 2023
1 parent d3f8368 commit 22025e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webapp/src/components/BuyPage/BuyNFTModal/BuyNFTModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ const BuyNFTModal = (props: Props) => {
}}
</AssetProviderPage>
) : null}
{hasLowPrice ? (
{hasLowPrice && !isBuyWithCardPage ? (
<PriceTooLow chainId={nft.chainId} network={nft.network} />
) : null}
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ const MintItemModal = (props: Props) => {
}}
</AssetProviderPage>
) : null}
{hasLowPrice ? (
{hasLowPrice && !isBuyWithCardPage ? (
<PriceTooLow chainId={item.chainId} network={item.network} />
) : null}
<div
Expand Down

0 comments on commit 22025e4

Please sign in to comment.