aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-12 23:53:10 +0800
committerGitHub <noreply@github.com>2018-03-12 23:53:10 +0800
commitdf9e7385ad86a16db195fa75db18dd6ee21eedf1 (patch)
treefe05568e5705cf2b0eb3605d4f5d97d86f4e63a1
parent86a55fe55a8abc0560ef183ea017d3703d9bb9a4 (diff)
parente065ac45dc56fba79bd16c0ba7601f34caaee5b9 (diff)
downloaddexon-sol-tools-df9e7385ad86a16db195fa75db18dd6ee21eedf1.tar.gz
dexon-sol-tools-df9e7385ad86a16db195fa75db18dd6ee21eedf1.tar.zst
dexon-sol-tools-df9e7385ad86a16db195fa75db18dd6ee21eedf1.zip
Merge pull request #449 from 0xProject/bug/website/portal-history-etherscan-tx
Fix the Portal Etherscan Link always overriding to address
-rw-r--r--packages/website/ts/components/ui/etherscan_icon.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/components/ui/etherscan_icon.tsx b/packages/website/ts/components/ui/etherscan_icon.tsx
index 040b84a0b..c1154d3d6 100644
--- a/packages/website/ts/components/ui/etherscan_icon.tsx
+++ b/packages/website/ts/components/ui/etherscan_icon.tsx
@@ -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 (