Skip to content

Commit

Permalink
hide bridge solana to oraichain
Browse files Browse the repository at this point in the history
  • Loading branch information
haunv3 committed Dec 12, 2024
1 parent 626d3b1 commit d5cbbc2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pages/Balance/TransferConvertToken/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,12 @@ const TransferConvertToken: FC<TransferConvertProps> = ({
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 ||
Expand Down

0 comments on commit d5cbbc2

Please sign in to comment.