From 2325514a671d7708dd8ddf130465e7595e377ba8 Mon Sep 17 00:00:00 2001 From: Dan J Miller Date: Thu, 19 Nov 2020 15:19:45 -0330 Subject: [PATCH] Use correct method name for createTokenTrackerLink in token-asset (#9917) --- ui/app/pages/asset/components/token-asset.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/app/pages/asset/components/token-asset.js b/ui/app/pages/asset/components/token-asset.js index 4c31c0d87..00296a59e 100644 --- a/ui/app/pages/asset/components/token-asset.js +++ b/ui/app/pages/asset/components/token-asset.js @@ -2,7 +2,7 @@ import React from 'react' import PropTypes from 'prop-types' import { useDispatch, useSelector } from 'react-redux' import { useHistory } from 'react-router-dom' -import { getTokenTrackerLink } from '@metamask/etherscan-link' +import { createTokenTrackerLink } from '@metamask/etherscan-link' import TransactionList from '../../../components/app/transaction-list' import { TokenOverview } from '../../../components/app/wallet-overview' @@ -36,7 +36,7 @@ export default function TokenAsset({ token }) { dispatch(showModal({ name: 'HIDE_TOKEN_CONFIRMATION', token })) } onViewEtherscan={() => { - const url = getTokenTrackerLink( + const url = createTokenTrackerLink( token.address, network, selectedAddress,