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
commit df9e7385ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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