Skip to content

Commit

Permalink
revert broken search (#5912)
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobar79 authored Jul 3, 2024
1 parent aac3ab6 commit d905682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/__swaps__/screens/Swap/hooks/useSearchCurrencyLists.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ export function useSearchCurrencyLists() {
const { data: verifiedAssets, isLoading: isLoadingVerifiedAssets } = useTokenSearch(
{
list: 'verifiedAssets',
chainId: state.toChainId,
chainId: isAddress(query) ? state.toChainId : undefined,
keys: isAddress(query) ? ['address'] : ['name', 'symbol'],
threshold: isAddress(query) ? 'CASE_SENSITIVE_EQUAL' : 'CONTAINS',
query: query.length > 0 ? query : undefined,
Expand Down

0 comments on commit d905682

Please sign in to comment.