From d5cbbc2975e677ad02d10c65c2b25a627632f1f5 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Van Date: Thu, 12 Dec 2024 16:46:33 +0700 Subject: [PATCH] hide bridge solana to oraichain --- src/pages/Balance/TransferConvertToken/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pages/Balance/TransferConvertToken/index.tsx b/src/pages/Balance/TransferConvertToken/index.tsx index f56b0678e..d5b1ea9b2 100644 --- a/src/pages/Balance/TransferConvertToken/index.tsx +++ b/src/pages/Balance/TransferConvertToken/index.tsx @@ -494,8 +494,12 @@ const TransferConvertToken: FC = ({ btcChains.find((chain) => chain.chainId !== token.chainId) ) { const isBridgeOraichainToSolana = toNetworkChainId === solChainId; + const isOraiOrMaxInSol = + toNetworkChainId === 'Oraichain' && + (token.coinGeckoId === 'max-2' || token.coinGeckoId === 'oraichain-token'); const isValidateFeeTon = bridgeFeeTon ? convertAmount < bridgeFeeTon : false; const isDisabled = + isOraiOrMaxInSol || isBridgeOraichainToSolana || transferLoading || !addressTransfer ||