Merge pull request #449 from 0xProject/bug/website/portal-history-etherscan-tx

Fix the Portal Etherscan Link always overriding to address
This commit is contained in:
Fabio Berger
2018-03-12 16:53:10 +01:00
committed by GitHub

View File

@@ -14,7 +14,7 @@ export const EtherScanIcon = (props: EtherScanIconProps) => {
const etherscanLinkIfExists = sharedUtils.getEtherScanLinkIfExists( const etherscanLinkIfExists = sharedUtils.getEtherScanLinkIfExists(
props.addressOrTxHash, props.addressOrTxHash,
props.networkId, props.networkId,
EtherscanLinkSuffixes.Address, props.etherscanLinkSuffixes,
); );
const transactionTooltipId = `${props.addressOrTxHash}-etherscan-icon-tooltip`; const transactionTooltipId = `${props.addressOrTxHash}-etherscan-icon-tooltip`;
return ( return (