diff --git a/wormhole-connect/src/views/v2/Bridge/AssetPicker/TokenList.tsx b/wormhole-connect/src/views/v2/Bridge/AssetPicker/TokenList.tsx index 6de2d5f7b..d1f6493de 100644 --- a/wormhole-connect/src/views/v2/Bridge/AssetPicker/TokenList.tsx +++ b/wormhole-connect/src/views/v2/Bridge/AssetPicker/TokenList.tsx @@ -195,18 +195,21 @@ const TokenList = (props: Props) => { const queryLC = query.toLowerCase(); const symbolMatch = token.symbol?.toLowerCase().includes(queryLC); + if (symbolMatch) return true; const displayNameMatch = getDisplayName(token, chain) .toLowerCase() .includes(queryLC); + if (displayNameMatch) return true; const tokenAddress = isWrappedToken(token, chain) ? getTokenBridgeWrappedTokenAddressSync(token, chain)?.toString() : token.tokenId?.address; const tokenAddressMatch = tokenAddress?.toLowerCase().includes(queryLC); + if (tokenAddressMatch) return true; - return Boolean(symbolMatch || displayNameMatch || tokenAddressMatch); + return false; }} renderFn={(token: TokenConfig) => { const balance = balances?.[token.key]?.balance;