feat: add BNB support to Token Search and Explore (#7223)

This commit is contained in:
Charles Bachmeier 2023-09-05 10:57:21 -07:00 committed by GitHub
parent 80a77dd567
commit 652a8305c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

@ -362,8 +362,6 @@ function SearchBarDropdownContents({
function ComingSoonText({ chainId }: { chainId: ChainId }) {
switch (chainId) {
case ChainId.BNB:
return <Trans>Coming soon: search and explore tokens on BNB Chain</Trans>
case ChainId.AVALANCHE:
return <Trans>Coming soon: search and explore tokens on Avalanche Chain</Trans>
default:

@ -184,13 +184,14 @@ export function logSentryErrorForUnsupportedChain({
export const BACKEND_SUPPORTED_CHAINS = [
Chain.Ethereum,
Chain.Polygon,
Chain.Arbitrum,
Chain.Optimism,
Chain.Celo,
Chain.Polygon,
Chain.Base,
Chain.Bnb,
Chain.Celo,
] as const
export const BACKEND_NOT_YET_SUPPORTED_CHAIN_IDS = [ChainId.BNB, ChainId.AVALANCHE] as const
export const BACKEND_NOT_YET_SUPPORTED_CHAIN_IDS = [ChainId.AVALANCHE] as const
export function getTokenDetailsURL({
address,