diff --git a/apps/cowswap-frontend/src/common/pure/NetworksList/index.tsx b/apps/cowswap-frontend/src/common/pure/NetworksList/index.tsx index 418ac3b5bb..53711dad30 100644 --- a/apps/cowswap-frontend/src/common/pure/NetworksList/index.tsx +++ b/apps/cowswap-frontend/src/common/pure/NetworksList/index.tsx @@ -1,11 +1,14 @@ import { getChainInfo } from '@cowprotocol/common-const' import { getExplorerBaseUrl } from '@cowprotocol/common-utils' import { SupportedChainId } from '@cowprotocol/cow-sdk' -import { ExternalLink } from '@cowprotocol/ui' +import { Badge, BadgeTypes, Color, ExternalLink } from '@cowprotocol/ui' import { Trans } from '@lingui/macro' import * as styledEl from './styled' +import { AlertCircle } from 'react-feather' + +const NEW_NETWORK_ID = 8453 export interface NetworksListProps { currentChainId: SupportedChainId | null @@ -25,11 +28,17 @@ export function NetworksList(props: NetworksListProps) { const isActive = targetChainId === currentChainId const logoUrl = getLogo(isDarkMode, isActive, logo.dark, logo.light) + const isNewNetwork = targetChainId === NEW_NETWORK_ID const rowContent = ( onSelectChain(targetChainId)} active={isActive}> {label} + {isNewNetwork && ( + + NEW + + )} {isActive && } )