feat: add BNB support to Token Search and Explore (#7223)
This commit is contained in:
parent
80a77dd567
commit
652a8305c8
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user