diff --git a/ui/components/app/wallet-overview/eth-overview.js b/ui/components/app/wallet-overview/eth-overview.js index 38c661df8..683f9d51e 100644 --- a/ui/components/app/wallet-overview/eth-overview.js +++ b/ui/components/app/wallet-overview/eth-overview.js @@ -21,17 +21,11 @@ import { MetaMetricsContext } from '../../../contexts/metametrics'; import { EVENT, EVENT_NAMES, - CONTEXT_PROPS, + // CONTEXT_PROPS, } from '../../../../shared/constants/metametrics'; import Spinner from '../../ui/spinner'; import { startNewDraftTransaction } from '../../../ducks/send'; import { AssetType } from '../../../../shared/constants/transaction'; -import { - ButtonIcon, - BUTTON_ICON_SIZES, - ICON_NAMES, -} from '../../component-library'; -import { IconColor } from '../../../helpers/constants/design-system'; import WalletOverview from './wallet-overview'; const EthOverview = ({ className }) => { @@ -76,34 +70,6 @@ const EthOverview = ({ className }) => { {balanceIsCached ? ( * ) : null} - { - const portfolioUrl = process.env.PORTFOLIO_URL; - global.platform.openTab({ - url: `${portfolioUrl}?metamaskEntry=ext`, - }); - trackEvent( - { - category: EVENT.CATEGORIES.HOME, - event: EVENT_NAMES.PORTFOLIO_LINK_CLICKED, - properties: { - url: portfolioUrl, - }, - }, - { - contextPropsIntoEventProperties: [ - CONTEXT_PROPS.PAGE_TITLE, - ], - }, - ); - }} - /> {showFiat && balance && (