@@ -35,7 +35,7 @@ import { BridgeConfirmationModal } from '../../components/bridge/BridgeConfirmat
35
35
import { FeeDetail , FeeDetailProps } from '../../components/bridge/FeeDetail' ;
36
36
import { AssetConfig , AssetList } from '../../components/Lists/AssetList' ;
37
37
import { ChainList } from '../../components/Lists/ChainList' ;
38
- import { ROUTER_NATIVE_TOKEN_ADDRESS } from '../../constants/bridge' ;
38
+ import { ROUTER_NATIVE_TOKEN_ADDRESS } from '../../../../../libs/tangle-shared-ui/src/ constants/bridge' ;
39
39
import useBridgeStore from '../../context/bridge/useBridgeStore' ;
40
40
import useBalances from '../../data/balances/useBalances' ;
41
41
import { BridgeTokenWithBalance } from '@webb-tools/tangle-shared-ui/types' ;
@@ -331,7 +331,7 @@ export default function BridgeContainer({ className }: BridgeContainerProps) {
331
331
. div ( new Decimal ( 10 ) . pow ( selectedToken . decimals ) )
332
332
. toString ( ) ;
333
333
334
- const formattedSendingAmount = `${ sendingAmount } ${ selectedToken . tokenSymbol } ` ;
334
+ const formattedSendingAmount = `${ sendingAmount } ${ selectedToken . symbol } ` ;
335
335
336
336
const formattedGasFee =
337
337
formatEther ( hyperlaneQuote . fees . local . amount ) +
@@ -402,13 +402,13 @@ export default function BridgeContainer({ className }: BridgeContainerProps) {
402
402
( sourceTypedChainId === PresetTypedChainId . TangleMainnetEVM &&
403
403
token . tokenType === EVMTokenEnum . TNT ) ||
404
404
( sourceTypedChainId === PresetTypedChainId . Polygon &&
405
- token . tokenSymbol === 'POL' ) ||
405
+ token . symbol === 'POL' ) ||
406
406
( ( sourceTypedChainId === PresetTypedChainId . Optimism ||
407
407
sourceTypedChainId === PresetTypedChainId . Arbitrum ||
408
408
sourceTypedChainId === PresetTypedChainId . Base ) &&
409
- token . tokenSymbol === 'ETH' ) ||
409
+ token . symbol === 'ETH' ) ||
410
410
( sourceTypedChainId === PresetTypedChainId . BSC &&
411
- token . tokenSymbol === 'BNB' ) ;
411
+ token . symbol === 'BNB' ) ;
412
412
413
413
const balance = isNativeToken
414
414
? formatEther ( nativeTokenBalance ?. value ?? BigInt ( 0 ) )
@@ -440,7 +440,7 @@ export default function BridgeContainer({ className }: BridgeContainerProps) {
440
440
441
441
return {
442
442
symbol : token . tokenType ,
443
- optionalSymbol : token . tokenSymbol ,
443
+ optionalSymbol : token . symbol ,
444
444
balance :
445
445
activeAccount && balance
446
446
? parseFloat ( balance . toString ( ) ) . toFixed ( 6 )
0 commit comments