Skip to content

Commit

Permalink
Merge pull request #284 from bnb-chain/wenty/aggregator
Browse files Browse the repository at this point in the history
fix: Update toToken explorer link
  • Loading branch information
wenty22 authored Jan 13, 2025
2 parents 45ba966 + 4c55426 commit ce98968
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ function ToTokenItem({ token, isSelected }: { token: IBridgeToken; isSelected: b
const { selectToToken } = useSelection();
const { isMobile } = useResponsive();

const fromChain = useAppSelector((state) => state.transfer.fromChain);
const toChain = useAppSelector((state) => state.transfer.toChain);
const isGlobalFeeLoading = useAppSelector((state) => state.transfer.isGlobalFeeLoading);

const tokenUrl = formatTokenUrl(fromChain?.tokenUrlPattern, token.address);
const tokenUrl = formatTokenUrl(toChain?.tokenUrlPattern, token.address);

return (
<InfoTooltip label={token.name}>
Expand Down Expand Up @@ -129,7 +129,7 @@ function ToTokenItem({ token, isSelected }: { token: IBridgeToken; isSelected: b
{token.displaySymbol}
</Text>

{!isNativeToken(token.address, fromChain?.chainType) && (
{!isNativeToken(token.address, toChain?.chainType) && (
<>
{isMobile ? (
<Flex
Expand Down

0 comments on commit ce98968

Please sign in to comment.