From 626d3b1ae5073d878fefb01accfbd68f73624cab Mon Sep 17 00:00:00 2001 From: Hau Nguyen Van Date: Thu, 12 Dec 2024 10:21:16 +0700 Subject: [PATCH] maintain bridge solana --- src/pages/Balance/TransferConvertToken/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pages/Balance/TransferConvertToken/index.tsx b/src/pages/Balance/TransferConvertToken/index.tsx index fe457872f..f56b0678e 100644 --- a/src/pages/Balance/TransferConvertToken/index.tsx +++ b/src/pages/Balance/TransferConvertToken/index.tsx @@ -6,7 +6,8 @@ import { toDisplay, TokenItemType, BTC_CONTRACT, - tonNetworkMainnet + tonNetworkMainnet, + solChainId } from '@oraichain/oraidex-common'; import loadingGif from 'assets/gif/loading.gif'; import ArrowDownIcon from 'assets/icons/arrow.svg?react'; @@ -492,8 +493,10 @@ const TransferConvertToken: FC = ({ evmChains.find((chain) => chain.chainId === token.chainId) || btcChains.find((chain) => chain.chainId !== token.chainId) ) { + const isBridgeOraichainToSolana = toNetworkChainId === solChainId; const isValidateFeeTon = bridgeFeeTon ? convertAmount < bridgeFeeTon : false; const isDisabled = + isBridgeOraichainToSolana || transferLoading || !addressTransfer || receivedAmount < 0 ||