aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Evans <jacob@dekz.net>2018-03-12 23:34:55 +0800
committerJacob Evans <jacob@dekz.net>2018-03-12 23:34:55 +0800
commite065ac45dc56fba79bd16c0ba7601f34caaee5b9 (patch)
treefe05568e5705cf2b0eb3605d4f5d97d86f4e63a1
parent86a55fe55a8abc0560ef183ea017d3703d9bb9a4 (diff)
downloaddexon-sol-tools-e065ac45dc56fba79bd16c0ba7601f34caaee5b9.tar
dexon-sol-tools-e065ac45dc56fba79bd16c0ba7601f34caaee5b9.tar.gz
dexon-sol-tools-e065ac45dc56fba79bd16c0ba7601f34caaee5b9.tar.bz2
dexon-sol-tools-e065ac45dc56fba79bd16c0ba7601f34caaee5b9.tar.lz
dexon-sol-tools-e065ac45dc56fba79bd16c0ba7601f34caaee5b9.tar.xz
dexon-sol-tools-e065ac45dc56fba79bd16c0ba7601f34caaee5b9.tar.zst
dexon-sol-tools-e065ac45dc56fba79bd16c0ba7601f34caaee5b9.zip
Fix the default 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 (